#2E3786#2E3786
#2E3786 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.131 H 273.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3786 |
|---|---|
| RGB | rgb(46, 55, 134) |
| HSL | hsl(234, 49%, 35%) |
| HSV | hsv(234, 66%, 53%) |
| CMYK | cmyk(65.7%, 59%, 0%, 47.5%) |
| CIE-LAB | lab(26.83, 22.90, -45.55) |
| CIE-LCH | lch(26.83, 50.98, 296.69°) |
| OKLab | oklab(37.82% 0.0079 -0.131) |
| OKLCH | oklch(37.82% 0.131 273.5) |
| XYZ | xyz(6.7946, 5.0339, 23.1632) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.68
Blueberry
#464196
ΔE00 4.77
Sapphire (survey)
#2138AB
ΔE00 5.62
Cobalt (survey)
#1E488F
ΔE00 7.19
Darkish Blue
#014182
ΔE00 7.56
Marine
#042E60
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3786 #867D2E
analogous
#2E6386 #2E3786 #512E86
triadic
#2E3786 #862E37 #37862E
tetradic
#2E3786 #862E63 #867D2E #2E8651
square
#2E3786 #862E63 #867D2E #2E8651
split-complementary
#2E3786 #86512E #63862E
monochromatic
#0F122B #1E2458 #2E3786 #3E4AB4 #646FCA
Accessibility & contrast
On white
10.46
#2E3786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2E3786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3786
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3786 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e3786; /* rgb */ color: rgb(46, 55, 134); /* oklch */ color: oklch(37.8% 0.131 273.5);
Tailwind
colors: {
custom: {
50: '#716daa',
500: '#2e3786',
950: '#000000',
},
}SCSS
$custom: #2e3786; $custom-light: #716daa; $custom-dark: #000000;
JSON
{
"hex": "#2e3786",
"rgb": {
"r": 46,
"g": 55,
"b": 134
},
"hsl": {
"h": 233.864,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.37821,
"c": 0.13121,
"h": 273.5
},
"luminance": 0.05034
}Semantic roles & 50–950 ramp
primary
#2E3786
secondary
#B1A85F
accent
#CA4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F