#2E3489#2E3489
#2E3489 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.140 H 274.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3489 |
|---|---|
| RGB | rgb(46, 52, 137) |
| HSL | hsl(236, 50%, 36%) |
| HSV | hsv(236, 66%, 54%) |
| CMYK | cmyk(66.4%, 62%, 0%, 46.3%) |
| CIE-LAB | lab(26.28, 26.02, -48.31) |
| CIE-LCH | lch(26.28, 54.87, 298.31°) |
| OKLab | oklab(37.49% 0.0107 -0.1391) |
| OKLCH | oklch(37.49% 0.14 274.4) |
| XYZ | xyz(6.8686, 4.8424, 24.2348) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.76
Blueberry
#464196
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.15
Midnight Blue
#191970
ΔE00 7.83
Royal
#0C1793
ΔE00 7.94
Cobalt (survey)
#1E488F
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3489 #89832E
analogous
#2E6189 #2E3489 #552E89
triadic
#2E3489 #892E34 #34892E
tetradic
#2E3489 #892E61 #89832E #2E8955
square
#2E3489 #892E61 #89832E #2E8955
split-complementary
#2E3489 #89552E #61892E
monochromatic
#0F112D #1F235B #2E3489 #3D45B7 #666DCC
Accessibility & contrast
On white
10.67
#2E3489 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2E3489 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3489
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3489 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3489 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e3489; /* rgb */ color: rgb(46, 52, 137); /* oklch */ color: oklch(37.5% 0.140 274.4);
Tailwind
colors: {
custom: {
50: '#726bac',
500: '#2e3489',
950: '#000000',
},
}SCSS
$custom: #2e3489; $custom-light: #726bac; $custom-dark: #000000;
JSON
{
"hex": "#2e3489",
"rgb": {
"r": 46,
"g": 52,
"b": 137
},
"hsl": {
"h": 236.044,
"s": 49.727,
"l": 35.882
},
"oklch": {
"l": 0.3749,
"c": 0.13953,
"h": 274.4
},
"luminance": 0.04843
}Semantic roles & 50–950 ramp
primary
#2E3489
secondary
#B2AD60
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F