#2E4AB4#2E4AB4
#2E4AB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.171 H 267.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AB4 |
|---|---|
| RGB | rgb(46, 74, 180) |
| HSL | hsl(227, 59%, 44%) |
| HSV | hsv(227, 74%, 71%) |
| CMYK | cmyk(74.4%, 58.9%, 0%, 29.4%) |
| CIE-LAB | lab(35.54, 27.34, -59.27) |
| CIE-LCH | lch(35.54, 65.27, 294.77°) |
| OKLab | oklab(45.47% -0.007 -0.1711) |
| OKLCH | oklch(45.47% 0.171 267.7) |
| XYZ | xyz(11.8108, 8.7724, 44.2420) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.51
Blue Blue
#2242C7
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 5.45
Blue (survey)
#0343DF
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AB4 #B4982E
analogous
#2E8DB4 #2E4AB4 #552EB4
triadic
#2E4AB4 #B42E4A #4AB42E
tetradic
#2E4AB4 #B42E8D #B4982E #2EB455
square
#2E4AB4 #B42E8D #B4982E #2EB455
split-complementary
#2E4AB4 #B4552E #8DB42E
monochromatic
#152253 #223683 #2E4AB4 #4E69D2 #7E92DE
Accessibility & contrast
On white
7.62
#2E4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2E4AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AB4
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AB4 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ab4; /* rgb */ color: rgb(46, 74, 180); /* oklch */ color: oklch(45.5% 0.171 267.7);
Tailwind
colors: {
custom: {
50: '#7a7ccb',
500: '#2e4ab4',
950: '#000000',
},
}SCSS
$custom: #2e4ab4; $custom-light: #7a7ccb; $custom-dark: #000000;
JSON
{
"hex": "#2e4ab4",
"rgb": {
"r": 46,
"g": 74,
"b": 180
},
"hsl": {
"h": 227.463,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.45468,
"c": 0.1712,
"h": 267.7
},
"luminance": 0.08774
}Semantic roles & 50–950 ramp
primary
#2E4AB4
secondary
#C7B677
accent
#C245E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82