#2E3384#2E3384
#2E3384 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.134 H 275.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3384 |
|---|---|
| RGB | rgb(46, 51, 132) |
| HSL | hsl(237, 48%, 35%) |
| HSV | hsv(237, 65%, 52%) |
| CMYK | cmyk(65.2%, 61.4%, 0%, 48.2%) |
| CIE-LAB | lab(25.61, 24.86, -46.29) |
| CIE-LCH | lch(25.61, 52.54, 298.24°) |
| OKLab | oklab(36.86% 0.0117 -0.1332) |
| OKLCH | oklch(36.86% 0.134 275) |
| XYZ | xyz(6.4740, 4.6139, 22.3747) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.85
Blueberry
#464196
ΔE00 5.34
Sapphire (survey)
#2138AB
ΔE00 5.96
Midnight Blue
#191970
ΔE00 7.40
Royal
#0C1793
ΔE00 8.05
Marine
#042E60
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3384 #847F2E
analogous
#2E5E84 #2E3384 #542E84
triadic
#2E3384 #842E33 #33842E
tetradic
#2E3384 #842E5E #847F2E #2E8454
square
#2E3384 #842E5E #847F2E #2E8454
split-complementary
#2E3384 #84542E #5E842E
monochromatic
#0E1029 #1E2157 #2E3384 #3E45B1 #6469C9
Accessibility & contrast
On white
10.92
#2E3384 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2E3384 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3384
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3384 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3384 | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e3384; /* rgb */ color: rgb(46, 51, 132); /* oklch */ color: oklch(36.9% 0.134 275.0);
Tailwind
colors: {
custom: {
50: '#716aa8',
500: '#2e3384',
950: '#000000',
},
}SCSS
$custom: #2e3384; $custom-light: #716aa8; $custom-dark: #000000;
JSON
{
"hex": "#2e3384",
"rgb": {
"r": 46,
"g": 51,
"b": 132
},
"hsl": {
"h": 236.512,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.36861,
"c": 0.13371,
"h": 275
},
"luminance": 0.04614
}Semantic roles & 50–950 ramp
primary
#2E3384
secondary
#B0AB5E
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F