#2A2AD5

Color Details

HEX
#2A2AD5
RGB
rgb(42, 42, 213)
HSL
hsl(240, 67%, 50%)
CMYK
cmyk(80%, 80%, 0%, 16%)
Best text on this color #FFFFFF (CR 8.78:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A2AD5 swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #2A2AD5

#2A2AD5 converts to RGB(42, 42, 213) and HSL(240, 67%, 50%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#2A2AD5 FAQs

What is the RGB value of #2A2AD5?
RGB: 42, 42, 213. Copy as CSS: rgb(42, 42, 213)
Is #2A2AD5 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A2AD5?
Complement: #d5d52a.
Does #2A2AD5 have good contrast on white or black?
On white: 8.78:1 (AAA (normal text)). On black: 2.39:1 (Fails AA).