#2E4AB0#2E4AB0
#2E4AB0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.166 H 267.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AB0 |
|---|---|
| RGB | rgb(46, 74, 176) |
| HSL | hsl(227, 59%, 44%) |
| HSV | hsv(227, 74%, 69%) |
| CMYK | cmyk(73.9%, 58%, 0%, 31%) |
| CIE-LAB | lab(35.23, 25.85, -57.41) |
| CIE-LCH | lch(35.23, 62.96, 294.24°) |
| OKLab | oklab(45.13% -0.0071 -0.1656) |
| OKLCH | oklch(45.13% 0.166 267.5) |
| XYZ | xyz(11.4092, 8.6118, 42.1268) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.20
Blue Blue
#2242C7
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 5.44
Cobalt (survey)
#1E488F
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AB0 #B0942E
analogous
#2E8BB0 #2E4AB0 #532EB0
triadic
#2E4AB0 #B02E4A #4AB02E
tetradic
#2E4AB0 #B02E8B #B0942E #2EB053
square
#2E4AB0 #B02E8B #B0942E #2EB053
split-complementary
#2E4AB0 #B0532E #8BB02E
monochromatic
#15214F #21367F #2E4AB0 #4B68D0 #7C91DD
Accessibility & contrast
On white
7.71
#2E4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2E4AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AB0
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AB0 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e4ab0; /* rgb */ color: rgb(46, 74, 176); /* oklch */ color: oklch(45.1% 0.166 267.5);
Tailwind
colors: {
custom: {
50: '#797cc8',
500: '#2e4ab0',
950: '#000000',
},
}SCSS
$custom: #2e4ab0; $custom-light: #797cc8; $custom-dark: #000000;
JSON
{
"hex": "#2e4ab0",
"rgb": {
"r": 46,
"g": 74,
"b": 176
},
"hsl": {
"h": 227.077,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.45133,
"c": 0.16577,
"h": 267.5
},
"luminance": 0.08613
}Semantic roles & 50–950 ramp
primary
#2E4AB0
secondary
#C5B475
accent
#C046E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82