#2E4587#2E4587
#2E4587 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.114 H 266.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4587 |
|---|---|
| RGB | rgb(46, 69, 135) |
| HSL | hsl(224, 49%, 35%) |
| HSV | hsv(224, 66%, 53%) |
| CMYK | cmyk(65.9%, 48.9%, 0%, 47.1%) |
| CIE-LAB | lab(30.84, 13.74, -39.69) |
| CIE-LCH | lch(30.84, 42.00, 289.10°) |
| OKLab | oklab(40.87% -0.0062 -0.1135) |
| OKLCH | oklch(40.87% 0.114 266.9) |
| XYZ | xyz(7.6265, 6.5857, 23.7862) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.93
Darkish Blue
#014182
ΔE00 4.58
Twilight Blue
#0A437A
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.56
Dusk Blue
#26538D
ΔE00 5.88
Blueberry
#464196
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4587 #87702E
analogous
#2E7187 #2E4587 #432E87
triadic
#2E4587 #872E45 #45872E
tetradic
#2E4587 #872E71 #87702E #2E8743
square
#2E4587 #872E71 #87702E #2E8743
split-complementary
#2E4587 #87432E #71872E
monochromatic
#0F162C #1E2E59 #2E4587 #3E5CB5 #657FCA
Accessibility & contrast
On white
9.06
#2E4587 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2E4587 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4587
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4587 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4587 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234D89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e4587; /* rgb */ color: rgb(46, 69, 135); /* oklch */ color: oklch(40.9% 0.114 266.9);
Tailwind
colors: {
custom: {
50: '#7178aa',
500: '#2e4587',
950: '#000000',
},
}SCSS
$custom: #2e4587; $custom-light: #7178aa; $custom-dark: #000000;
JSON
{
"hex": "#2e4587",
"rgb": {
"r": 46,
"g": 69,
"b": 135
},
"hsl": {
"h": 224.494,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.40873,
"c": 0.11372,
"h": 266.9
},
"luminance": 0.06586
}Semantic roles & 50–950 ramp
primary
#2E4587
secondary
#B19C60
accent
#B54FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F