#2E4E9D#2E4E9D
#2E4E9D is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.134 H 264.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4E9D |
|---|---|
| RGB | rgb(46, 78, 157) |
| HSL | hsl(223, 55%, 40%) |
| HSV | hsv(223, 71%, 62%) |
| CMYK | cmyk(70.7%, 50.3%, 0%, 38.4%) |
| CIE-LAB | lab(34.93, 16.01, -46.54) |
| CIE-LCH | lch(34.93, 49.21, 288.98°) |
| OKLab | oklab(44.47% -0.012 -0.1336) |
| OKLCH | oklch(44.47% 0.134 264.9) |
| XYZ | xyz(9.9348, 8.4629, 33.0017) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.06
Cobalt
#0047AB
ΔE00 3.47
Dusk Blue
#26538D
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 4.17
Denim Blue
#3B5B92
ΔE00 4.72
Light Navy Blue
#2E5A88
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4E9D #9D7D2E
analogous
#2E859D #2E4E9D #462E9D
triadic
#2E4E9D #9D2E4E #4E9D2E
tetradic
#2E4E9D #9D2E85 #9D7D2E #2E9D46
square
#2E4E9D #9D2E85 #9D7D2E #2E9D46
split-complementary
#2E4E9D #9D462E #859D2E
monochromatic
#121F3E #20366E #2E4E9D #4168C7 #708DD5
Accessibility & contrast
On white
7.80
#2E4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2E4E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4E9D
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4E9D | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e4e9d; /* rgb */ color: rgb(46, 78, 157); /* oklch */ color: oklch(44.5% 0.134 264.9);
Tailwind
colors: {
custom: {
50: '#757fba',
500: '#2e4e9d',
950: '#000000',
},
}SCSS
$custom: #2e4e9d; $custom-light: #757fba; $custom-dark: #000000;
JSON
{
"hex": "#2e4e9d",
"rgb": {
"r": 46,
"g": 78,
"b": 157
},
"hsl": {
"h": 222.703,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.44466,
"c": 0.1341,
"h": 264.9
},
"luminance": 0.08464
}Semantic roles & 50–950 ramp
primary
#2E4E9D
secondary
#BDA56A
accent
#B34ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81