#2E2386#2E2386
#2E2386 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.156 H 279.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2386 |
|---|---|
| RGB | rgb(46, 35, 134) |
| HSL | hsl(247, 59%, 33%) |
| HSV | hsv(247, 74%, 53%) |
| CMYK | cmyk(65.7%, 73.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.96, 35.80, -53.51) |
| CIE-LCH | lch(21.96, 64.38, 303.78°) |
| OKLab | oklab(34.27% 0.025 -0.1544) |
| OKLCH | oklch(34.27% 0.156 279.2) |
| XYZ | xyz(6.0294, 3.5037, 22.9082) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.08
Midnight Blue
#191970
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.51
Indigo Blue
#3A18B1
ΔE00 6.67
Darkblue
#00008B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2386 #7B8623
analogous
#234986 #2E2386 #5F2386
triadic
#2E2386 #862E23 #23862E
tetradic
#2E2386 #862349 #7B8623 #23865F
square
#2E2386 #862349 #7B8623 #23865F
split-complementary
#2E2386 #865F23 #498623
monochromatic
#0D0A25 #1D1655 #2E2386 #3F30B7 #6052D2
Accessibility & contrast
On white
12.35
#2E2386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2E2386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2386
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2386 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2386; /* rgb */ color: rgb(46, 35, 134); /* oklch */ color: oklch(34.3% 0.156 279.2);
Tailwind
colors: {
custom: {
50: '#735faa',
500: '#2e2386',
950: '#000000',
},
}SCSS
$custom: #2e2386; $custom-light: #735faa; $custom-dark: #000000;
JSON
{
"hex": "#2e2386",
"rgb": {
"r": 46,
"g": 35,
"b": 134
},
"hsl": {
"h": 246.667,
"s": 58.58,
"l": 33.137
},
"oklch": {
"l": 0.34267,
"c": 0.15642,
"h": 279.2
},
"luminance": 0.03504
}Semantic roles & 50–950 ramp
primary
#2E2386
secondary
#AAB54F
accent
#E246D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F