#2E4987#2E4987
#2E4987 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.108 H 264.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4987 |
|---|---|
| RGB | rgb(46, 73, 135) |
| HSL | hsl(222, 49%, 35%) |
| HSV | hsv(222, 66%, 53%) |
| CMYK | cmyk(65.9%, 45.9%, 0%, 47.1%) |
| CIE-LAB | lab(32.02, 11.04, -37.80) |
| CIE-LCH | lch(32.02, 39.38, 286.28°) |
| OKLab | oklab(41.77% -0.0104 -0.1079) |
| OKLCH | oklch(41.77% 0.108 264.5) |
| XYZ | xyz(7.8809, 7.0945, 23.8710) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.23
Darkish Blue
#014182
ΔE00 4.42
Dusk Blue
#26538D
ΔE00 4.45
Twilight Blue
#0A437A
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.36
Light Navy
#155084
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4987 #876C2E
analogous
#2E7587 #2E4987 #402E87
triadic
#2E4987 #872E49 #49872E
tetradic
#2E4987 #872E75 #876C2E #2E8740
square
#2E4987 #872E75 #876C2E #2E8740
split-complementary
#2E4987 #87402E #75872E
monochromatic
#0F182C #1E3059 #2E4987 #3E62B5 #6584CA
Accessibility & contrast
On white
8.68
#2E4987 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2E4987 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4987
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4987 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5089
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e4987; /* rgb */ color: rgb(46, 73, 135); /* oklch */ color: oklch(41.8% 0.108 264.5);
Tailwind
colors: {
custom: {
50: '#707baa',
500: '#2e4987',
950: '#000000',
},
}SCSS
$custom: #2e4987; $custom-light: #707baa; $custom-dark: #000000;
JSON
{
"hex": "#2e4987",
"rgb": {
"r": 46,
"g": 73,
"b": 135
},
"hsl": {
"h": 221.798,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.41774,
"c": 0.10844,
"h": 264.5
},
"luminance": 0.07095
}Semantic roles & 50–950 ramp
primary
#2E4987
secondary
#B19860
accent
#AF4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F