#2E2AA1#2E2AA1
#2E2AA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.183 H 274.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2AA1 |
|---|---|
| RGB | rgb(46, 42, 161) |
| HSL | hsl(242, 59%, 40%) |
| HSV | hsv(242, 74%, 63%) |
| CMYK | cmyk(71.4%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(26.18, 40.76, -63.22) |
| CIE-LCH | lch(26.18, 75.22, 302.81°) |
| OKLab | oklab(38.1% 0.0153 -0.1828) |
| OKLCH | oklch(38.1% 0.183 274.8) |
| XYZ | xyz(8.3856, 4.8092, 34.1976) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.41
Royal
#0C1793
ΔE00 5.08
Cobalt Blue
#030AA7
ΔE00 5.95
Ultramarine
#2000B1
ΔE00 6.35
Royal Blue (survey)
#0504AA
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2AA1 #9DA12A
analogous
#2A61A1 #2E2AA1 #6A2AA1
triadic
#2E2AA1 #A12E2A #2AA12E
tetradic
#2E2AA1 #A12A61 #9DA12A #2AA16A
square
#2E2AA1 #A12A61 #9DA12A #2AA16A
split-complementary
#2E2AA1 #A16A2A #61A12A
monochromatic
#121140 #201D70 #2E2AA1 #413CCC #706DD9
Accessibility & contrast
On white
10.70
#2E2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2E2AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2AA1
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2AA1 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2aa1; /* rgb */ color: rgb(46, 42, 161); /* oklch */ color: oklch(38.1% 0.183 274.8);
Tailwind
colors: {
custom: {
50: '#7865be',
500: '#2e2aa1',
950: '#000000',
},
}SCSS
$custom: #2e2aa1; $custom-light: #7865be; $custom-dark: #000000;
JSON
{
"hex": "#2e2aa1",
"rgb": {
"r": 46,
"g": 42,
"b": 161
},
"hsl": {
"h": 242.017,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.38105,
"c": 0.18343,
"h": 274.8
},
"luminance": 0.0481
}Semantic roles & 50–950 ramp
primary
#2E2AA1
secondary
#BDC067
accent
#E246DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81