#2E2184#2E2184
#2E2184 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.156 H 279.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2184 |
|---|---|
| RGB | rgb(46, 33, 132) |
| HSL | hsl(248, 60%, 32%) |
| HSV | hsv(248, 75%, 52%) |
| CMYK | cmyk(65.2%, 75%, 0%, 48.2%) |
| CIE-LAB | lab(21.33, 36.31, -53.28) |
| CIE-LCH | lch(21.33, 64.47, 304.28°) |
| OKLab | oklab(33.76% 0.0269 -0.1537) |
| OKLCH | oklch(33.76% 0.156 279.9) |
| XYZ | xyz(5.8341, 3.3340, 22.1614) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.00
Midnight Blue
#191970
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 5.46
Darkblue
#00008B
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.45
Navy
#000080
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2184 #778421
analogous
#214584 #2E2184 #602184
triadic
#2E2184 #842E21 #21842E
tetradic
#2E2184 #842145 #778421 #218460
square
#2E2184 #842145 #778421 #218460
split-complementary
#2E2184 #846021 #458421
monochromatic
#0C0922 #1D1553 #2E2184 #3F2DB5 #5E4DD2
Accessibility & contrast
On white
12.60
#2E2184 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2E2184 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2184
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2184 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2184 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2e2184; /* rgb */ color: rgb(46, 33, 132); /* oklch */ color: oklch(33.8% 0.156 279.9);
Tailwind
colors: {
custom: {
50: '#735ea9',
500: '#2e2184',
950: '#000000',
},
}SCSS
$custom: #2e2184; $custom-light: #735ea9; $custom-dark: #000000;
JSON
{
"hex": "#2e2184",
"rgb": {
"r": 46,
"g": 33,
"b": 132
},
"hsl": {
"h": 247.879,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.33763,
"c": 0.15605,
"h": 279.9
},
"luminance": 0.03334
}Semantic roles & 50–950 ramp
primary
#2E2184
secondary
#A8B64B
accent
#E345CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F