#2E4E7D#2E4E7D
#2E4E7D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.087 H 257.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4E7D |
|---|---|
| RGB | rgb(46, 78, 125) |
| HSL | hsl(216, 46%, 34%) |
| HSV | hsv(216, 63%, 49%) |
| CMYK | cmyk(63.2%, 37.6%, 0%, 51%) |
| CIE-LAB | lab(32.94, 4.00, -30.16) |
| CIE-LCH | lch(32.94, 30.42, 277.56°) |
| OKLab | oklab(42.29% -0.0183 -0.0855) |
| OKLCH | oklch(42.29% 0.087 257.9) |
| XYZ | xyz(7.5515, 7.5096, 20.4496) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.93
Cobalt (survey)
#1E488F
ΔE00 3.44
Light Navy
#155084
ΔE00 3.74
Twilight Blue
#0A437A
ΔE00 4.40
Light Navy Blue
#2E5A88
ΔE00 4.63
Prussian Blue
#004577
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4E7D #7D5D2E
analogous
#2E757D #2E4E7D #352E7D
triadic
#2E4E7D #7D2E4E #4E7D2E
tetradic
#2E4E7D #7D2E75 #7D5D2E #2E7D35
square
#2E4E7D #7D2E75 #7D5D2E #2E7D35
split-complementary
#2E4E7D #7D352E #757D2E
monochromatic
#0D1624 #1E3250 #2E4E7D #3E6AAA #6189C5
Accessibility & contrast
On white
8.39
#2E4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2E4E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4E7D
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4E7D | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e4e7d; /* rgb */ color: rgb(46, 78, 125); /* oklch */ color: oklch(42.3% 0.087 257.9);
Tailwind
colors: {
custom: {
50: '#6e7fa3',
500: '#2e4e7d',
950: '#000000',
},
}SCSS
$custom: #2e4e7d; $custom-light: #6e7fa3; $custom-dark: #000000;
JSON
{
"hex": "#2e4e7d",
"rgb": {
"r": 46,
"g": 78,
"b": 125
},
"hsl": {
"h": 215.696,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.42291,
"c": 0.08741,
"h": 257.9
},
"luminance": 0.0751
}Semantic roles & 50–950 ramp
primary
#2E4E7D
secondary
#AB8B5B
accent
#A052D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F