#2E4687#2E4687
#2E4687 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.112 H 266.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4687 |
|---|---|
| RGB | rgb(46, 70, 135) |
| HSL | hsl(224, 49%, 35%) |
| HSV | hsv(224, 66%, 53%) |
| CMYK | cmyk(65.9%, 48.1%, 0%, 47.1%) |
| CIE-LAB | lab(31.14, 13.07, -39.22) |
| CIE-LCH | lch(31.14, 41.34, 288.43°) |
| OKLab | oklab(41.1% -0.0072 -0.1121) |
| OKLCH | oklch(41.1% 0.112 266.3) |
| XYZ | xyz(7.6885, 6.7097, 23.8069) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.70
Darkish Blue
#014182
ΔE00 4.50
Twilight Blue
#0A437A
ΔE00 5.05
Cobalt
#0047AB
ΔE00 5.48
Dusk Blue
#26538D
ΔE00 5.52
Blueberry
#464196
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4687 #876F2E
analogous
#2E7287 #2E4687 #422E87
triadic
#2E4687 #872E46 #46872E
tetradic
#2E4687 #872E72 #876F2E #2E8742
square
#2E4687 #872E72 #876F2E #2E8742
split-complementary
#2E4687 #87422E #72872E
monochromatic
#0F172C #1E2E59 #2E4687 #3E5EB5 #6580CA
Accessibility & contrast
On white
8.97
#2E4687 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2E4687 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4687
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4687 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4687 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#154586
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e4687; /* rgb */ color: rgb(46, 70, 135); /* oklch */ color: oklch(41.1% 0.112 266.3);
Tailwind
colors: {
custom: {
50: '#7079aa',
500: '#2e4687',
950: '#000000',
},
}SCSS
$custom: #2e4687; $custom-light: #7079aa; $custom-dark: #000000;
JSON
{
"hex": "#2e4687",
"rgb": {
"r": 46,
"g": 70,
"b": 135
},
"hsl": {
"h": 223.82,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.41096,
"c": 0.11238,
"h": 266.3
},
"luminance": 0.0671
}Semantic roles & 50–950 ramp
primary
#2E4687
secondary
#B19B60
accent
#B44FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F