#2E3385#2E3385
#2E3385 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.135 H 275.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3385 |
|---|---|
| RGB | rgb(46, 51, 133) |
| HSL | hsl(237, 49%, 35%) |
| HSV | hsv(237, 65%, 52%) |
| CMYK | cmyk(65.4%, 61.7%, 0%, 47.8%) |
| CIE-LAB | lab(25.69, 25.23, -46.78) |
| CIE-LCH | lch(25.69, 53.15, 298.34°) |
| OKLab | oklab(36.95% 0.0117 -0.1346) |
| OKLCH | oklch(36.95% 0.135 275) |
| XYZ | xyz(6.5428, 4.6414, 22.7368) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.84
Blueberry
#464196
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.80
Midnight Blue
#191970
ΔE00 7.43
Royal
#0C1793
ΔE00 7.96
Marine
#042E60
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3385 #85802E
analogous
#2E5E85 #2E3385 #552E85
triadic
#2E3385 #852E33 #33852E
tetradic
#2E3385 #852E5E #85802E #2E8555
square
#2E3385 #852E5E #85802E #2E8555
split-complementary
#2E3385 #85552E #5E852E
monochromatic
#0F102A #1E2258 #2E3385 #3E44B2 #646AC9
Accessibility & contrast
On white
10.89
#2E3385 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2E3385 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3385
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3385 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3385 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e3385; /* rgb */ color: rgb(46, 51, 133); /* oklch */ color: oklch(36.9% 0.135 275.0);
Tailwind
colors: {
custom: {
50: '#716aa9',
500: '#2e3385',
950: '#000000',
},
}SCSS
$custom: #2e3385; $custom-light: #716aa9; $custom-dark: #000000;
JSON
{
"hex": "#2e3385",
"rgb": {
"r": 46,
"g": 51,
"b": 133
},
"hsl": {
"h": 236.552,
"s": 48.603,
"l": 35.098
},
"oklch": {
"l": 0.36948,
"c": 0.13515,
"h": 275
},
"luminance": 0.04642
}Semantic roles & 50–950 ramp
primary
#2E3385
secondary
#B0AB5F
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F