#2E3386#2E3386
#2E3386 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.137 H 274.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3386 |
|---|---|
| RGB | rgb(46, 51, 134) |
| HSL | hsl(237, 49%, 35%) |
| HSV | hsv(237, 66%, 53%) |
| CMYK | cmyk(65.7%, 61.9%, 0%, 47.5%) |
| CIE-LAB | lab(25.77, 25.59, -47.27) |
| CIE-LCH | lch(25.77, 53.75, 298.43°) |
| OKLab | oklab(37.04% 0.0117 -0.1361) |
| OKLCH | oklch(37.04% 0.137 274.9) |
| XYZ | xyz(6.6122, 4.6692, 23.1024) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.83
Blueberry
#464196
ΔE00 5.22
Sapphire (survey)
#2138AB
ΔE00 5.65
Midnight Blue
#191970
ΔE00 7.46
Royal
#0C1793
ΔE00 7.88
Marine
#042E60
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3386 #86812E
analogous
#2E5F86 #2E3386 #552E86
triadic
#2E3386 #862E33 #33862E
tetradic
#2E3386 #862E5F #86812E #2E8655
square
#2E3386 #862E5F #86812E #2E8655
split-complementary
#2E3386 #86552E #5F862E
monochromatic
#0F102B #1E2258 #2E3386 #3E44B4 #646ACA
Accessibility & contrast
On white
10.86
#2E3386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2E3386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3386
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3386 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e3386; /* rgb */ color: rgb(46, 51, 134); /* oklch */ color: oklch(37.0% 0.137 274.9);
Tailwind
colors: {
custom: {
50: '#716aaa',
500: '#2e3386',
950: '#000000',
},
}SCSS
$custom: #2e3386; $custom-light: #716aaa; $custom-dark: #000000;
JSON
{
"hex": "#2e3386",
"rgb": {
"r": 46,
"g": 51,
"b": 134
},
"hsl": {
"h": 236.591,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.37035,
"c": 0.13658,
"h": 274.9
},
"luminance": 0.0467
}Semantic roles & 50–950 ramp
primary
#2E3386
secondary
#B1AC5F
accent
#D14FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F