#2E4EA4#2E4EA4
#2E4EA4 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.144 H 265.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EA4 |
|---|---|
| RGB | rgb(46, 78, 164) |
| HSL | hsl(224, 56%, 41%) |
| HSV | hsv(224, 72%, 64%) |
| CMYK | cmyk(72%, 52.4%, 0%, 35.7%) |
| CIE-LAB | lab(35.42, 18.66, -49.95) |
| CIE-LCH | lch(35.42, 53.32, 290.49°) |
| OKLab | oklab(44.99% -0.0112 -0.1436) |
| OKLCH | oklch(44.99% 0.144 265.5) |
| XYZ | xyz(10.5496, 8.7089, 36.2398) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.15
Sapphire
#0F52BA
ΔE00 3.55
Cobalt (survey)
#1E488F
ΔE00 3.83
Dusk Blue
#26538D
ΔE00 4.72
Denim Blue
#3B5B92
ΔE00 5.16
Light Navy Blue
#2E5A88
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EA4 #A4842E
analogous
#2E89A4 #2E4EA4 #492EA4
triadic
#2E4EA4 #A42E4E #4EA42E
tetradic
#2E4EA4 #A42E89 #A4842E #2EA449
square
#2E4EA4 #A42E89 #A4842E #2EA449
split-complementary
#2E4EA4 #A4492E #89A42E
monochromatic
#132144 #213774 #2E4EA4 #4569CB #748FD8
Accessibility & contrast
On white
7.66
#2E4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2E4EA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EA4
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EA4 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1759A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e4ea4; /* rgb */ color: rgb(46, 78, 164); /* oklch */ color: oklch(45.0% 0.144 265.5);
Tailwind
colors: {
custom: {
50: '#767fc0',
500: '#2e4ea4',
950: '#000000',
},
}SCSS
$custom: #2e4ea4; $custom-light: #767fc0; $custom-dark: #000000;
JSON
{
"hex": "#2e4ea4",
"rgb": {
"r": 46,
"g": 78,
"b": 164
},
"hsl": {
"h": 223.729,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.44994,
"c": 0.14405,
"h": 265.5
},
"luminance": 0.0871
}Semantic roles & 50–950 ramp
primary
#2E4EA4
secondary
#C0AA6E
accent
#B648DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81