#2E2387#2E2387
#2E2387 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.158 H 279.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2387 |
|---|---|
| RGB | rgb(46, 35, 135) |
| HSL | hsl(247, 59%, 33%) |
| HSV | hsv(247, 74%, 53%) |
| CMYK | cmyk(65.9%, 74.1%, 0%, 47.1%) |
| CIE-LAB | lab(22.06, 36.13, -53.97) |
| CIE-LCH | lch(22.06, 64.95, 303.80°) |
| OKLab | oklab(34.37% 0.0248 -0.1558) |
| OKLCH | oklch(34.37% 0.158 279.1) |
| XYZ | xyz(6.0995, 3.5317, 23.2772) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.00
Midnight Blue
#191970
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.39
Indigo Blue
#3A18B1
ΔE00 6.52
Darkblue
#00008B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2387 #7C8723
analogous
#234A87 #2E2387 #602387
triadic
#2E2387 #872E23 #23872E
tetradic
#2E2387 #87234A #7C8723 #238760
square
#2E2387 #87234A #7C8723 #238760
split-complementary
#2E2387 #876023 #4A8723
monochromatic
#0D0A26 #1D1656 #2E2387 #3F30B8 #6052D2
Accessibility & contrast
On white
12.31
#2E2387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2E2387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2387
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2387 | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2387; /* rgb */ color: rgb(46, 35, 135); /* oklch */ color: oklch(34.4% 0.158 279.1);
Tailwind
colors: {
custom: {
50: '#735fab',
500: '#2e2387',
950: '#000000',
},
}SCSS
$custom: #2e2387; $custom-light: #735fab; $custom-dark: #000000;
JSON
{
"hex": "#2e2387",
"rgb": {
"r": 46,
"g": 35,
"b": 135
},
"hsl": {
"h": 246.6,
"s": 58.824,
"l": 33.333
},
"oklch": {
"l": 0.34369,
"c": 0.15772,
"h": 279.1
},
"luminance": 0.03532
}Semantic roles & 50–950 ramp
primary
#2E2387
secondary
#ABB650
accent
#E246D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F