#2E4A87#2E4A87
#2E4A87 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.107 H 263.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4A87 |
|---|---|
| RGB | rgb(46, 74, 135) |
| HSL | hsl(221, 49%, 35%) |
| HSV | hsv(221, 66%, 53%) |
| CMYK | cmyk(65.9%, 45.2%, 0%, 47.1%) |
| CIE-LAB | lab(32.32, 10.37, -37.33) |
| CIE-LCH | lch(32.32, 38.74, 285.53°) |
| OKLab | oklab(42% -0.0115 -0.1065) |
| OKLCH | oklch(42% 0.107 263.8) |
| XYZ | xyz(7.9471, 7.2269, 23.8931) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.18
Dusk Blue
#26538D
ΔE00 4.09
Darkish Blue
#014182
ΔE00 4.46
Twilight Blue
#0A437A
ΔE00 4.70
Cobalt
#0047AB
ΔE00 5.36
Light Navy
#155084
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4A87 #876B2E
analogous
#2E7687 #2E4A87 #3F2E87
triadic
#2E4A87 #872E4A #4A872E
tetradic
#2E4A87 #872E76 #876B2E #2E873F
square
#2E4A87 #872E76 #876B2E #2E873F
split-complementary
#2E4A87 #873F2E #76872E
monochromatic
#0F182C #1E3159 #2E4A87 #3E63B5 #6585CA
Accessibility & contrast
On white
8.59
#2E4A87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2E4A87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4A87
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4A87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4A87 | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#1F4886
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e4a87; /* rgb */ color: rgb(46, 74, 135); /* oklch */ color: oklch(42.0% 0.107 263.8);
Tailwind
colors: {
custom: {
50: '#707caa',
500: '#2e4a87',
950: '#000000',
},
}SCSS
$custom: #2e4a87; $custom-light: #707caa; $custom-dark: #000000;
JSON
{
"hex": "#2e4a87",
"rgb": {
"r": 46,
"g": 74,
"b": 135
},
"hsl": {
"h": 221.124,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.42002,
"c": 0.10715,
"h": 263.8
},
"luminance": 0.07228
}Semantic roles & 50–950 ramp
primary
#2E4A87
secondary
#B19860
accent
#AD4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F