#2E4EA9#2E4EA9
#2E4EA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.151 H 265.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EA9 |
|---|---|
| RGB | rgb(46, 78, 169) |
| HSL | hsl(224, 57%, 42%) |
| HSV | hsv(224, 73%, 66%) |
| CMYK | cmyk(72.8%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(35.78, 20.56, -52.36) |
| CIE-LCH | lch(35.78, 56.25, 291.44°) |
| OKLab | oklab(45.38% -0.0107 -0.1507) |
| OKLCH | oklch(45.38% 0.151 265.9) |
| XYZ | xyz(11.0100, 8.8930, 38.6647) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.10
Sapphire
#0F52BA
ΔE00 3.22
Cobalt (survey)
#1E488F
ΔE00 4.44
Dusk Blue
#26538D
ΔE00 5.26
Denim Blue
#3B5B92
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EA9 #A9892E
analogous
#2E8CA9 #2E4EA9 #4B2EA9
triadic
#2E4EA9 #A92E4E #4EA92E
tetradic
#2E4EA9 #A92E8C #A9892E #2EA94B
square
#2E4EA9 #A92E8C #A9892E #2EA94B
split-complementary
#2E4EA9 #A94B2E #8CA92E
monochromatic
#142249 #213879 #2E4EA9 #476ACD #7791DA
Accessibility & contrast
On white
7.56
#2E4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2E4EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EA9
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EA9 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A5AAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ea9; /* rgb */ color: rgb(46, 78, 169); /* oklch */ color: oklch(45.4% 0.151 265.9);
Tailwind
colors: {
custom: {
50: '#777fc3',
500: '#2e4ea9',
950: '#000000',
},
}SCSS
$custom: #2e4ea9; $custom-light: #777fc3; $custom-dark: #000000;
JSON
{
"hex": "#2e4ea9",
"rgb": {
"r": 46,
"g": 78,
"b": 169
},
"hsl": {
"h": 224.39,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.45381,
"c": 0.15106,
"h": 265.9
},
"luminance": 0.08894
}Semantic roles & 50–950 ramp
primary
#2E4EA9
secondary
#C2AD71
accent
#B947E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82