#2E4AB5#2E4AB5
#2E4AB5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.173 H 267.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AB5 |
|---|---|
| RGB | rgb(46, 74, 181) |
| HSL | hsl(228, 59%, 45%) |
| HSV | hsv(228, 75%, 71%) |
| CMYK | cmyk(74.6%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(35.62, 27.72, -59.73) |
| CIE-LCH | lch(35.62, 65.85, 294.89°) |
| OKLab | oklab(45.55% -0.007 -0.1724) |
| OKLCH | oklch(45.55% 0.173 267.7) |
| XYZ | xyz(11.9131, 8.8133, 44.7804) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.46
Cobalt
#0047AB
ΔE00 3.59
Sapphire
#0F52BA
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 5.46
Blue (survey)
#0343DF
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AB5 #B5992E
analogous
#2E8DB5 #2E4AB5 #562EB5
triadic
#2E4AB5 #B52E4A #4AB52E
tetradic
#2E4AB5 #B52E8D #B5992E #2EB556
square
#2E4AB5 #B52E8D #B5992E #2EB556
split-complementary
#2E4AB5 #B5562E #8DB52E
monochromatic
#152253 #223684 #2E4AB5 #4E6AD2 #7F93DE
Accessibility & contrast
On white
7.60
#2E4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2E4AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AB5
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AB5 | 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)
#005AB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ab5; /* rgb */ color: rgb(46, 74, 181); /* oklch */ color: oklch(45.6% 0.173 267.7);
Tailwind
colors: {
custom: {
50: '#7a7ccc',
500: '#2e4ab5',
950: '#000000',
},
}SCSS
$custom: #2e4ab5; $custom-light: #7a7ccc; $custom-dark: #000000;
JSON
{
"hex": "#2e4ab5",
"rgb": {
"r": 46,
"g": 74,
"b": 181
},
"hsl": {
"h": 227.556,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.45553,
"c": 0.17255,
"h": 267.7
},
"luminance": 0.08815
}Semantic roles & 50–950 ramp
primary
#2E4AB5
secondary
#C7B778
accent
#C245E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82