#2E4A9E#2E4A9E
#2E4A9E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.141 H 266.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4A9E |
|---|---|
| RGB | rgb(46, 74, 158) |
| HSL | hsl(225, 55%, 40%) |
| HSV | hsv(225, 71%, 62%) |
| CMYK | cmyk(70.9%, 53.2%, 0%, 38%) |
| CIE-LAB | lab(33.87, 19.06, -48.85) |
| CIE-LCH | lch(33.87, 52.44, 291.32°) |
| OKLab | oklab(43.68% -0.0083 -0.1404) |
| OKLCH | oklch(43.68% 0.141 266.6) |
| XYZ | xyz(9.7449, 7.9460, 33.3613) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.09
Cobalt (survey)
#1E488F
ΔE00 3.22
Sapphire
#0F52BA
ΔE00 4.84
Dusk Blue
#26538D
ΔE00 5.26
Blueberry
#464196
ΔE00 6.03
Denim Blue
#3B5B92
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4A9E #9E822E
analogous
#2E829E #2E4A9E #4A2E9E
triadic
#2E4A9E #9E2E4A #4A9E2E
tetradic
#2E4A9E #9E2E82 #9E822E #2E9E4A
square
#2E4A9E #9E2E82 #9E822E #2E9E4A
split-complementary
#2E4A9E #9E4A2E #829E2E
monochromatic
#121E3F #20346F #2E4A9E #4163C8 #718AD6
Accessibility & contrast
On white
8.11
#2E4A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2E4A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4A9E
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4A9E | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e4a9e; /* rgb */ color: rgb(46, 74, 158); /* oklch */ color: oklch(43.7% 0.141 266.6);
Tailwind
colors: {
custom: {
50: '#757cbb',
500: '#2e4a9e',
950: '#000000',
},
}SCSS
$custom: #2e4a9e; $custom-light: #757cbb; $custom-dark: #000000;
JSON
{
"hex": "#2e4a9e",
"rgb": {
"r": 46,
"g": 74,
"b": 158
},
"hsl": {
"h": 225,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.43684,
"c": 0.14066,
"h": 266.6
},
"luminance": 0.07947
}Semantic roles & 50–950 ramp
primary
#2E4A9E
secondary
#BDA86B
accent
#B94ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81