#2E4AB7#2E4AB7
#2E4AB7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.175 H 267.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AB7 |
|---|---|
| RGB | rgb(46, 74, 183) |
| HSL | hsl(228, 60%, 45%) |
| HSV | hsv(228, 75%, 72%) |
| CMYK | cmyk(74.9%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(35.78, 28.46, -60.65) |
| CIE-LCH | lch(35.78, 66.99, 295.14°) |
| OKLab | oklab(45.72% -0.0069 -0.1751) |
| OKLCH | oklch(45.72% 0.175 267.7) |
| XYZ | xyz(12.1198, 8.8960, 45.8689) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.25
Cobalt
#0047AB
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 4.14
Blue (survey)
#0343DF
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AB7 #B79B2E
analogous
#2E8FB7 #2E4AB7 #562EB7
triadic
#2E4AB7 #B72E4A #4AB72E
tetradic
#2E4AB7 #B72E8F #B79B2E #2EB756
square
#2E4AB7 #B72E8F #B79B2E #2EB756
split-complementary
#2E4AB7 #B7562E #8FB72E
monochromatic
#152255 #223686 #2E4AB7 #4F6AD3 #8094DF
Accessibility & contrast
On white
7.56
#2E4AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2E4AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AB7
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AB7 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ab7; /* rgb */ color: rgb(46, 74, 183); /* oklch */ color: oklch(45.7% 0.175 267.7);
Tailwind
colors: {
custom: {
50: '#7b7ccd',
500: '#2e4ab7',
950: '#000000',
},
}SCSS
$custom: #2e4ab7; $custom-light: #7b7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2e4ab7",
"rgb": {
"r": 46,
"g": 74,
"b": 183
},
"hsl": {
"h": 227.737,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.45723,
"c": 0.17525,
"h": 267.7
},
"luminance": 0.08897
}Semantic roles & 50–950 ramp
primary
#2E4AB7
secondary
#C8B879
accent
#C345E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82