#2E3382#2E3382
#2E3382 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.131 H 275.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3382 |
|---|---|
| RGB | rgb(46, 51, 130) |
| HSL | hsl(236, 48%, 35%) |
| HSV | hsv(236, 65%, 51%) |
| CMYK | cmyk(64.6%, 60.8%, 0%, 49%) |
| CIE-LAB | lab(25.44, 24.13, -45.30) |
| CIE-LCH | lch(25.44, 51.33, 298.05°) |
| OKLab | oklab(36.69% 0.0118 -0.1303) |
| OKLCH | oklch(36.69% 0.131 275.2) |
| XYZ | xyz(6.3385, 4.5597, 21.6608) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.89
Blueberry
#464196
ΔE00 5.48
Sapphire (survey)
#2138AB
ΔE00 6.28
Midnight Blue
#191970
ΔE00 7.37
Marine
#042E60
ΔE00 7.93
Royal
#0C1793
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3382 #827D2E
analogous
#2E5D82 #2E3382 #532E82
triadic
#2E3382 #822E33 #33822E
tetradic
#2E3382 #822E5D #827D2E #2E8253
square
#2E3382 #822E5D #827D2E #2E8253
split-complementary
#2E3382 #82532E #5D822E
monochromatic
#0E1028 #1E2155 #2E3382 #3E45AF #6369C8
Accessibility & contrast
On white
10.98
#2E3382 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E3382 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3382
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3382 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3382 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e3382; /* rgb */ color: rgb(46, 51, 130); /* oklch */ color: oklch(36.7% 0.131 275.2);
Tailwind
colors: {
custom: {
50: '#716aa7',
500: '#2e3382',
950: '#000000',
},
}SCSS
$custom: #2e3382; $custom-light: #716aa7; $custom-dark: #000000;
JSON
{
"hex": "#2e3382",
"rgb": {
"r": 46,
"g": 51,
"b": 130
},
"hsl": {
"h": 236.429,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.36688,
"c": 0.13083,
"h": 275.2
},
"luminance": 0.0456
}Semantic roles & 50–950 ramp
primary
#2E3382
secondary
#AEAA5D
accent
#CF50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F