#2E4AB9#2E4AB9
#2E4AB9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.178 H 267.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AB9 |
|---|---|
| RGB | rgb(46, 74, 185) |
| HSL | hsl(228, 60%, 45%) |
| HSV | hsv(228, 75%, 73%) |
| CMYK | cmyk(75.1%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(35.95, 29.20, -61.56) |
| CIE-LCH | lch(35.95, 68.14, 295.38°) |
| OKLab | oklab(45.9% -0.0069 -0.1778) |
| OKLCH | oklch(45.9% 0.178 267.8) |
| XYZ | xyz(12.3294, 8.9798, 46.9730) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.06
Cobalt
#0047AB
ΔE00 3.96
Sapphire
#0F52BA
ΔE00 4.20
Blue (survey)
#0343DF
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AB9 #B99D2E
analogous
#2E8FB9 #2E4AB9 #582EB9
triadic
#2E4AB9 #B92E4A #4AB92E
tetradic
#2E4AB9 #B92E8F #B99D2E #2EB958
square
#2E4AB9 #B92E8F #B99D2E #2EB958
split-complementary
#2E4AB9 #B9582E #8FB92E
monochromatic
#162357 #223688 #2E4AB9 #516BD4 #8295E0
Accessibility & contrast
On white
7.51
#2E4AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2E4AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AB9
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AB9 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4ab9; /* rgb */ color: rgb(46, 74, 185); /* oklch */ color: oklch(45.9% 0.178 267.8);
Tailwind
colors: {
custom: {
50: '#7b7ccf',
500: '#2e4ab9',
950: '#000000',
},
}SCSS
$custom: #2e4ab9; $custom-light: #7b7ccf; $custom-dark: #000000;
JSON
{
"hex": "#2e4ab9",
"rgb": {
"r": 46,
"g": 74,
"b": 185
},
"hsl": {
"h": 227.914,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.45895,
"c": 0.17792,
"h": 267.8
},
"luminance": 0.08981
}Semantic roles & 50–950 ramp
primary
#2E4AB9
secondary
#C9B97A
accent
#C344E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82