#2E4EA5#2E4EA5
#2E4EA5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.145 H 265.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EA5 |
|---|---|
| RGB | rgb(46, 78, 165) |
| HSL | hsl(224, 56%, 41%) |
| HSV | hsv(224, 72%, 65%) |
| CMYK | cmyk(72.1%, 52.7%, 0%, 35.3%) |
| CIE-LAB | lab(35.49, 19.04, -50.43) |
| CIE-LCH | lch(35.49, 53.91, 290.68°) |
| OKLab | oklab(45.07% -0.0111 -0.145) |
| OKLCH | oklch(45.07% 0.145 265.6) |
| XYZ | xyz(10.6403, 8.7451, 36.7172) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.48
Cobalt (survey)
#1E488F
ΔE00 3.95
Dusk Blue
#26538D
ΔE00 4.83
Denim Blue
#3B5B92
ΔE00 5.23
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EA5 #A5852E
analogous
#2E8AA5 #2E4EA5 #4A2EA5
triadic
#2E4EA5 #A52E4E #4EA52E
tetradic
#2E4EA5 #A52E8A #A5852E #2EA54A
square
#2E4EA5 #A52E8A #A5852E #2EA54A
split-complementary
#2E4EA5 #A54A2E #8AA52E
monochromatic
#132145 #213775 #2E4EA5 #4569CB #7590D8
Accessibility & contrast
On white
7.64
#2E4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2E4EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EA5
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EA5 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e4ea5; /* rgb */ color: rgb(46, 78, 165); /* oklch */ color: oklch(45.1% 0.145 265.6);
Tailwind
colors: {
custom: {
50: '#767fc0',
500: '#2e4ea5',
950: '#000000',
},
}SCSS
$custom: #2e4ea5; $custom-light: #767fc0; $custom-dark: #000000;
JSON
{
"hex": "#2e4ea5",
"rgb": {
"r": 46,
"g": 78,
"b": 165
},
"hsl": {
"h": 223.866,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.4507,
"c": 0.14545,
"h": 265.6
},
"luminance": 0.08746
}Semantic roles & 50–950 ramp
primary
#2E4EA5
secondary
#C0AA6F
accent
#B748E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81