#2E4D9E#2E4D9E
#2E4D9E is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.137 H 265.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4D9E |
|---|---|
| RGB | rgb(46, 77, 158) |
| HSL | hsl(223, 55%, 40%) |
| HSV | hsv(223, 71%, 62%) |
| CMYK | cmyk(70.9%, 51.3%, 0%, 38%) |
| CIE-LAB | lab(34.71, 17.05, -47.49) |
| CIE-LCH | lch(34.71, 50.46, 289.76°) |
| OKLab | oklab(44.33% -0.011 -0.1364) |
| OKLCH | oklch(44.33% 0.137 265.4) |
| XYZ | xyz(9.9500, 8.3562, 33.4297) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.11
Cobalt
#0047AB
ΔE00 3.28
Sapphire
#0F52BA
ΔE00 4.24
Dusk Blue
#26538D
ΔE00 4.38
Denim Blue
#3B5B92
ΔE00 5.10
Darkish Blue
#014182
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4D9E #9E7F2E
analogous
#2E859E #2E4D9E #472E9E
triadic
#2E4D9E #9E2E4D #4D9E2E
tetradic
#2E4D9E #9E2E85 #9E7F2E #2E9E47
square
#2E4D9E #9E2E85 #9E7F2E #2E9E47
split-complementary
#2E4D9E #9E472E #859E2E
monochromatic
#121F3F #20366F #2E4D9E #4167C8 #718DD6
Accessibility & contrast
On white
7.86
#2E4D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2E4D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4D9E
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4D9E | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D57A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e4d9e; /* rgb */ color: rgb(46, 77, 158); /* oklch */ color: oklch(44.3% 0.137 265.4);
Tailwind
colors: {
custom: {
50: '#757ebb',
500: '#2e4d9e',
950: '#000000',
},
}SCSS
$custom: #2e4d9e; $custom-light: #757ebb; $custom-dark: #000000;
JSON
{
"hex": "#2e4d9e",
"rgb": {
"r": 46,
"g": 77,
"b": 158
},
"hsl": {
"h": 223.393,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.44325,
"c": 0.1368,
"h": 265.4
},
"luminance": 0.08357
}Semantic roles & 50–950 ramp
primary
#2E4D9E
secondary
#BDA66B
accent
#B54ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81