#2A2EB0#2A2EB0
#2A2EB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.199 H 271.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2EB0 |
|---|---|
| RGB | rgb(42, 46, 176) |
| HSL | hsl(238, 61%, 43%) |
| HSV | hsv(238, 76%, 69%) |
| CMYK | cmyk(76.1%, 73.9%, 0%, 31%) |
| CIE-LAB | lab(28.33, 43.12, -68.73) |
| CIE-LCH | lch(28.33, 81.14, 302.10°) |
| OKLab | oklab(40.03% 0.0059 -0.199) |
| OKLCH | oklch(40.03% 0.199 271.7) |
| XYZ | xyz(9.7657, 5.5798, 41.6282) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.26
Indigo Blue
#3A18B1
ΔE00 4.69
True Blue
#010FCC
ΔE00 5.76
Blue Blue
#2242C7
ΔE00 6.20
Ocean Blue
#4F42B5
ΔE00 6.44
Blue With A Hint Of Purple
#533CC6
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2EB0 #B0AC2A
analogous
#2A71B0 #2A2EB0 #692AB0
triadic
#2A2EB0 #B02A2E #2EB02A
tetradic
#2A2EB0 #B02A71 #B0AC2A #2AB069
square
#2A2EB0 #B02A71 #B0AC2A #2AB069
split-complementary
#2A2EB0 #B0692A #71B02A
monochromatic
#12144D #1E217F #2A2EB0 #4549D3 #7679DE
Accessibility & contrast
On white
9.92
#2A2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A2EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2EB0
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2EB0 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a2eb0; /* rgb */ color: rgb(42, 46, 176); /* oklch */ color: oklch(40.0% 0.199 271.7);
Tailwind
colors: {
custom: {
50: '#7a68c9',
500: '#2a2eb0',
950: '#000000',
},
}SCSS
$custom: #2a2eb0; $custom-light: #7a68c9; $custom-dark: #000000;
JSON
{
"hex": "#2a2eb0",
"rgb": {
"r": 42,
"g": 46,
"b": 176
},
"hsl": {
"h": 238.209,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.4003,
"c": 0.19905,
"h": 271.7
},
"luminance": 0.05581
}Semantic roles & 50–950 ramp
primary
#2A2EB0
secondary
#C6C370
accent
#E043E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82