#2E1E86#2E1E86
#2E1E86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.162 H 280.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1E86 |
|---|---|
| RGB | rgb(46, 30, 134) |
| HSL | hsl(249, 63%, 32%) |
| HSV | hsv(249, 78%, 53%) |
| CMYK | cmyk(65.7%, 77.6%, 0%, 47.5%) |
| CIE-LAB | lab(20.94, 38.65, -55.18) |
| CIE-LCH | lch(20.94, 67.37, 305.01°) |
| OKLab | oklab(33.55% 0.0285 -0.1593) |
| OKLCH | oklch(33.55% 0.162 280.1) |
| XYZ | xyz(5.8927, 3.2302, 22.8626) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.48
Midnight Blue
#191970
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 4.74
Darkblue
#00008B
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 5.79
Navy
#000080
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1E86 #76861E
analogous
#1E4286 #2E1E86 #621E86
triadic
#2E1E86 #862E1E #1E862E
tetradic
#2E1E86 #861E42 #76861E #1E8662
square
#2E1E86 #861E42 #76861E #1E8662
split-complementary
#2E1E86 #86621E #42861E
monochromatic
#0C0822 #1D1354 #2E1E86 #3F29B8 #5E48D6
Accessibility & contrast
On white
12.76
#2E1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2E1E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1E86
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1E86 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2e1e86; /* rgb */ color: rgb(46, 30, 134); /* oklch */ color: oklch(33.5% 0.162 280.1);
Tailwind
colors: {
custom: {
50: '#735caa',
500: '#2e1e86',
950: '#000000',
},
}SCSS
$custom: #2e1e86; $custom-light: #735caa; $custom-dark: #000000;
JSON
{
"hex": "#2e1e86",
"rgb": {
"r": 46,
"g": 30,
"b": 134
},
"hsl": {
"h": 249.231,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.33549,
"c": 0.16179,
"h": 280.1
},
"luminance": 0.03231
}Semantic roles & 50–950 ramp
primary
#2E1E86
secondary
#A7B847
accent
#E641CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F