#2E4A8D#2E4A8D
#2E4A8D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.116 H 264.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4A8D |
|---|---|
| RGB | rgb(46, 74, 141) |
| HSL | hsl(222, 51%, 37%) |
| HSV | hsv(222, 67%, 55%) |
| CMYK | cmyk(67.4%, 47.5%, 0%, 44.7%) |
| CIE-LAB | lab(32.70, 12.63, -40.40) |
| CIE-LCH | lch(32.70, 42.33, 287.36°) |
| OKLab | oklab(42.42% -0.0104 -0.1156) |
| OKLCH | oklch(42.42% 0.116 264.8) |
| XYZ | xyz(8.3815, 7.4007, 26.1809) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.99
Dusk Blue
#26538D
ΔE00 4.22
Cobalt
#0047AB
ΔE00 4.67
Darkish Blue
#014182
ΔE00 4.72
Twilight Blue
#0A437A
ΔE00 5.17
Denim Blue
#3B5B92
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4A8D #8D712E
analogous
#2E7A8D #2E4A8D #422E8D
triadic
#2E4A8D #8D2E4A #4A8D2E
tetradic
#2E4A8D #8D2E7A #8D712E #2E8D42
square
#2E4A8D #8D2E7A #8D712E #2E8D42
split-complementary
#2E4A8D #8D422E #7A8D2E
monochromatic
#101A31 #1F325F #2E4A8D #3D62BB #6886CE
Accessibility & contrast
On white
8.47
#2E4A8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2E4A8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4A8D
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4A8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4A8D | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285290
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e4a8d; /* rgb */ color: rgb(46, 74, 141); /* oklch */ color: oklch(42.4% 0.116 264.8);
Tailwind
colors: {
custom: {
50: '#727caf',
500: '#2e4a8d',
950: '#000000',
},
}SCSS
$custom: #2e4a8d; $custom-light: #727caf; $custom-dark: #000000;
JSON
{
"hex": "#2e4a8d",
"rgb": {
"r": 46,
"g": 74,
"b": 141
},
"hsl": {
"h": 222.316,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.42421,
"c": 0.11603,
"h": 264.8
},
"luminance": 0.07401
}Semantic roles & 50–950 ramp
primary
#2E4A8D
secondary
#B59C62
accent
#B14EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F