#2E4EA8#2E4EA8
#2E4EA8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.150 H 265.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EA8 |
|---|---|
| RGB | rgb(46, 78, 168) |
| HSL | hsl(224, 57%, 42%) |
| HSV | hsv(224, 73%, 66%) |
| CMYK | cmyk(72.6%, 53.6%, 0%, 34.1%) |
| CIE-LAB | lab(35.70, 20.18, -51.88) |
| CIE-LCH | lch(35.70, 55.66, 291.25°) |
| OKLab | oklab(45.3% -0.0108 -0.1493) |
| OKLCH | oklch(45.3% 0.15 265.9) |
| XYZ | xyz(10.9165, 8.8556, 38.1722) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.10
Sapphire
#0F52BA
ΔE00 3.28
Cobalt (survey)
#1E488F
ΔE00 4.31
Dusk Blue
#26538D
ΔE00 5.15
Denim Blue
#3B5B92
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EA8 #A8882E
analogous
#2E8BA8 #2E4EA8 #4B2EA8
triadic
#2E4EA8 #A82E4E #4EA82E
tetradic
#2E4EA8 #A82E8B #A8882E #2EA84B
square
#2E4EA8 #A82E8B #A8882E #2EA84B
split-complementary
#2E4EA8 #A84B2E #8BA82E
monochromatic
#142148 #213878 #2E4EA8 #476ACD #7791DA
Accessibility & contrast
On white
7.58
#2E4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2E4EA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EA8
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EA8 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5AAB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ea8; /* rgb */ color: rgb(46, 78, 168); /* oklch */ color: oklch(45.3% 0.150 265.9);
Tailwind
colors: {
custom: {
50: '#777fc2',
500: '#2e4ea8',
950: '#000000',
},
}SCSS
$custom: #2e4ea8; $custom-light: #777fc2; $custom-dark: #000000;
JSON
{
"hex": "#2e4ea8",
"rgb": {
"r": 46,
"g": 78,
"b": 168
},
"hsl": {
"h": 224.262,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.45303,
"c": 0.14966,
"h": 265.9
},
"luminance": 0.08857
}Semantic roles & 50–950 ramp
primary
#2E4EA8
secondary
#C2AC70
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81