#2E4EA7#2E4EA7
#2E4EA7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.148 H 265.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EA7 |
|---|---|
| RGB | rgb(46, 78, 167) |
| HSL | hsl(224, 57%, 42%) |
| HSV | hsv(224, 72%, 65%) |
| CMYK | cmyk(72.5%, 53.3%, 0%, 34.5%) |
| CIE-LAB | lab(35.63, 19.80, -51.40) |
| CIE-LCH | lch(35.63, 55.08, 291.07°) |
| OKLab | oklab(45.23% -0.0109 -0.1479) |
| OKLCH | oklch(45.23% 0.148 265.8) |
| XYZ | xyz(10.8237, 8.8185, 37.6834) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.10
Sapphire
#0F52BA
ΔE00 3.34
Cobalt (survey)
#1E488F
ΔE00 4.19
Dusk Blue
#26538D
ΔE00 5.04
Denim Blue
#3B5B92
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EA7 #A7872E
analogous
#2E8BA7 #2E4EA7 #4A2EA7
triadic
#2E4EA7 #A72E4E #4EA72E
tetradic
#2E4EA7 #A72E8B #A7872E #2EA74A
square
#2E4EA7 #A72E8B #A7872E #2EA74A
split-complementary
#2E4EA7 #A74A2E #8BA72E
monochromatic
#142147 #213877 #2E4EA7 #466ACC #7690D9
Accessibility & contrast
On white
7.60
#2E4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2E4EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EA7
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EA7 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105AAA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ea7; /* rgb */ color: rgb(46, 78, 167); /* oklch */ color: oklch(45.2% 0.148 265.8);
Tailwind
colors: {
custom: {
50: '#777fc2',
500: '#2e4ea7',
950: '#000000',
},
}SCSS
$custom: #2e4ea7; $custom-light: #777fc2; $custom-dark: #000000;
JSON
{
"hex": "#2e4ea7",
"rgb": {
"r": 46,
"g": 78,
"b": 167
},
"hsl": {
"h": 224.132,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.45225,
"c": 0.14826,
"h": 265.8
},
"luminance": 0.0882
}Semantic roles & 50–950 ramp
primary
#2E4EA7
secondary
#C1AC70
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81