#2E1D86#2E1D86
#2E1D86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.163 H 280.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1D86 |
|---|---|
| RGB | rgb(46, 29, 134) |
| HSL | hsl(250, 64%, 32%) |
| HSV | hsv(250, 78%, 53%) |
| CMYK | cmyk(65.7%, 78.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.75, 39.20, -55.49) |
| CIE-LCH | lch(20.75, 67.94, 305.24°) |
| OKLab | oklab(33.42% 0.0291 -0.1602) |
| OKLCH | oklch(33.42% 0.163 280.3) |
| XYZ | xyz(5.8678, 3.1803, 22.8543) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.41
Midnight Blue
#191970
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 4.52
Darkblue
#00008B
ΔE00 5.54
Cobalt Blue
#030AA7
ΔE00 5.68
Navy
#000080
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1D86 #75861D
analogous
#1D4186 #2E1D86 #631D86
triadic
#2E1D86 #862E1D #1D862E
tetradic
#2E1D86 #861D41 #75861D #1D8663
square
#2E1D86 #861D41 #75861D #1D8663
split-complementary
#2E1D86 #86631D #41861D
monochromatic
#0B0721 #1D1254 #2E1D86 #3F28B8 #5E46D7
Accessibility & contrast
On white
12.83
#2E1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2E1D86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1D86
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1D86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1D86 | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2e1d86; /* rgb */ color: rgb(46, 29, 134); /* oklch */ color: oklch(33.4% 0.163 280.3);
Tailwind
colors: {
custom: {
50: '#735caa',
500: '#2e1d86',
950: '#000000',
},
}SCSS
$custom: #2e1d86; $custom-light: #735caa; $custom-dark: #000000;
JSON
{
"hex": "#2e1d86",
"rgb": {
"r": 46,
"g": 29,
"b": 134
},
"hsl": {
"h": 249.714,
"s": 64.417,
"l": 31.961
},
"oklch": {
"l": 0.33415,
"c": 0.16279,
"h": 280.3
},
"luminance": 0.03181
}Semantic roles & 50–950 ramp
primary
#2E1D86
secondary
#A6B946
accent
#E740CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F