#2E4C7D#2E4C7D
#2E4C7D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.090 H 259.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4C7D |
|---|---|
| RGB | rgb(46, 76, 125) |
| HSL | hsl(217, 46%, 34%) |
| HSV | hsv(217, 63%, 49%) |
| CMYK | cmyk(63.2%, 39.2%, 0%, 51%) |
| CIE-LAB | lab(32.32, 5.32, -31.13) |
| CIE-LCH | lch(32.32, 31.58, 279.69°) |
| OKLab | oklab(41.81% -0.016 -0.0883) |
| OKLCH | oklch(41.81% 0.09 259.8) |
| XYZ | xyz(7.4115, 7.2297, 20.4030) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.18
Dusk Blue
#26538D
ΔE00 3.53
Twilight Blue
#0A437A
ΔE00 4.21
Light Navy
#155084
ΔE00 4.36
Darkish Blue
#014182
ΔE00 4.58
Prussian Blue
#004577
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4C7D #7D5F2E
analogous
#2E737D #2E4C7D #372E7D
triadic
#2E4C7D #7D2E4C #4C7D2E
tetradic
#2E4C7D #7D2E73 #7D5F2E #2E7D37
square
#2E4C7D #7D2E73 #7D5F2E #2E7D37
split-complementary
#2E4C7D #7D372E #737D2E
monochromatic
#0D1624 #1E3150 #2E4C7D #3E67AA #6187C5
Accessibility & contrast
On white
8.59
#2E4C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2E4C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4C7D
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4C7D | 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)
#37507F
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e4c7d; /* rgb */ color: rgb(46, 76, 125); /* oklch */ color: oklch(41.8% 0.090 259.8);
Tailwind
colors: {
custom: {
50: '#6e7da3',
500: '#2e4c7d',
950: '#000000',
},
}SCSS
$custom: #2e4c7d; $custom-light: #6e7da3; $custom-dark: #000000;
JSON
{
"hex": "#2e4c7d",
"rgb": {
"r": 46,
"g": 76,
"b": 125
},
"hsl": {
"h": 217.215,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.41812,
"c": 0.08977,
"h": 259.8
},
"luminance": 0.0723
}Semantic roles & 50–950 ramp
primary
#2E4C7D
secondary
#AB8D5B
accent
#A452D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F