#2E4AB6#2E4AB6
#2E4AB6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.174 H 267.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AB6 |
|---|---|
| RGB | rgb(46, 74, 182) |
| HSL | hsl(228, 60%, 45%) |
| HSV | hsv(228, 75%, 71%) |
| CMYK | cmyk(74.7%, 59.3%, 0%, 28.6%) |
| CIE-LAB | lab(35.70, 28.09, -60.19) |
| CIE-LCH | lch(35.70, 66.42, 295.02°) |
| OKLab | oklab(45.64% -0.007 -0.1738) |
| OKLCH | oklch(45.64% 0.174 267.7) |
| XYZ | xyz(12.0161, 8.8545, 45.3227) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.35
Cobalt
#0047AB
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 4.11
Blue (survey)
#0343DF
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AB6 #B69A2E
analogous
#2E8EB6 #2E4AB6 #562EB6
triadic
#2E4AB6 #B62E4A #4AB62E
tetradic
#2E4AB6 #B62E8E #B69A2E #2EB656
square
#2E4AB6 #B62E8E #B69A2E #2EB656
split-complementary
#2E4AB6 #B6562E #8EB62E
monochromatic
#152254 #223685 #2E4AB6 #4F6AD2 #8093DF
Accessibility & contrast
On white
7.58
#2E4AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2E4AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AB6
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AB6 | 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)
#005ABA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ab6; /* rgb */ color: rgb(46, 74, 182); /* oklch */ color: oklch(45.6% 0.174 267.7);
Tailwind
colors: {
custom: {
50: '#7b7ccd',
500: '#2e4ab6',
950: '#000000',
},
}SCSS
$custom: #2e4ab6; $custom-light: #7b7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2e4ab6",
"rgb": {
"r": 46,
"g": 74,
"b": 182
},
"hsl": {
"h": 227.647,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.45638,
"c": 0.1739,
"h": 267.7
},
"luminance": 0.08856
}Semantic roles & 50–950 ramp
primary
#2E4AB6
secondary
#C8B778
accent
#C245E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82