#2E4876#2E4876
#2E4876 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.084 H 261.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4876 |
|---|---|
| RGB | rgb(46, 72, 118) |
| HSL | hsl(218, 44%, 32%) |
| HSV | hsv(218, 61%, 46%) |
| CMYK | cmyk(61%, 39%, 0%, 53.7%) |
| CIE-LAB | lab(30.70, 5.41, -29.34) |
| CIE-LCH | lch(30.70, 29.83, 280.44°) |
| OKLab | oklab(40.42% -0.013 -0.0831) |
| OKLCH | oklch(40.42% 0.084 261.1) |
| XYZ | xyz(6.7130, 6.5230, 18.0413) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.97
Twilight Blue
#0A437A
ΔE00 4.16
Darkish Blue
#014182
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 5.15
Prussian Blue
#004577
ΔE00 5.17
Light Navy
#155084
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4876 #765C2E
analogous
#2E6C76 #2E4876 #382E76
triadic
#2E4876 #762E48 #48762E
tetradic
#2E4876 #762E6C #765C2E #2E7638
square
#2E4876 #762E6C #765C2E #2E7638
split-complementary
#2E4876 #76382E #6C762E
monochromatic
#0C121E #1D2D4A #2E4876 #3F63A2 #5E82C0
Accessibility & contrast
On white
9.11
#2E4876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2E4876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4876
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4876 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354C78
Deuteranopia (green-blind)
#2B4575
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e4876; /* rgb */ color: rgb(46, 72, 118); /* oklch */ color: oklch(40.4% 0.084 261.1);
Tailwind
colors: {
custom: {
50: '#6d7a9e',
500: '#2e4876',
950: '#000000',
},
}SCSS
$custom: #2e4876; $custom-light: #6d7a9e; $custom-dark: #000000;
JSON
{
"hex": "#2e4876",
"rgb": {
"r": 46,
"g": 72,
"b": 118
},
"hsl": {
"h": 218.333,
"s": 43.902,
"l": 32.157
},
"oklch": {
"l": 0.40418,
"c": 0.08416,
"h": 261.1
},
"luminance": 0.06524
}Semantic roles & 50–950 ramp
primary
#2E4876
secondary
#A78B59
accent
#A654D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E