#2E4487#2E4487
#2E4487 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.115 H 267.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4487 |
|---|---|
| RGB | rgb(46, 68, 135) |
| HSL | hsl(225, 49%, 35%) |
| HSV | hsv(225, 66%, 53%) |
| CMYK | cmyk(65.9%, 49.6%, 0%, 47.1%) |
| CIE-LAB | lab(30.55, 14.42, -40.15) |
| CIE-LCH | lch(30.55, 42.67, 289.75°) |
| OKLab | oklab(40.65% -0.0051 -0.1149) |
| OKLCH | oklch(40.65% 0.115 267.4) |
| XYZ | xyz(7.5655, 6.4637, 23.7659) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.18
Darkish Blue
#014182
ΔE00 4.70
Twilight Blue
#0A437A
ΔE00 5.36
Cobalt
#0047AB
ΔE00 5.65
Blueberry
#464196
ΔE00 5.84
Dusk Blue
#26538D
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4487 #87712E
analogous
#2E7087 #2E4487 #452E87
triadic
#2E4487 #872E44 #44872E
tetradic
#2E4487 #872E70 #87712E #2E8745
square
#2E4487 #872E70 #87712E #2E8745
split-complementary
#2E4487 #87452E #70872E
monochromatic
#0F162C #1E2D59 #2E4487 #3E5BB5 #657ECA
Accessibility & contrast
On white
9.16
#2E4487 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E4487 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4487
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4487 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4487 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e4487; /* rgb */ color: rgb(46, 68, 135); /* oklch */ color: oklch(40.7% 0.115 267.4);
Tailwind
colors: {
custom: {
50: '#7177aa',
500: '#2e4487',
950: '#000000',
},
}SCSS
$custom: #2e4487; $custom-light: #7177aa; $custom-dark: #000000;
JSON
{
"hex": "#2e4487",
"rgb": {
"r": 46,
"g": 68,
"b": 135
},
"hsl": {
"h": 225.169,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.40651,
"c": 0.11505,
"h": 267.4
},
"luminance": 0.06464
}Semantic roles & 50–950 ramp
primary
#2E4487
secondary
#B19D60
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F