#2E4CAE#2E4CAE
#2E4CAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.161 H 266.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4CAE |
|---|---|
| RGB | rgb(46, 76, 174) |
| HSL | hsl(226, 58%, 43%) |
| HSV | hsv(226, 74%, 68%) |
| CMYK | cmyk(73.6%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(35.61, 23.77, -55.61) |
| CIE-LCH | lch(35.61, 60.48, 293.15°) |
| OKLab | oklab(45.37% -0.0087 -0.1603) |
| OKLCH | oklch(45.37% 0.161 266.9) |
| XYZ | xyz(11.3485, 8.8045, 41.1375) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Sapphire
#0F52BA
ΔE00 3.52
Blue Blue
#2242C7
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.11
Sapphire (survey)
#2138AB
ΔE00 6.13
Dusk Blue
#26538D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4CAE #AE902E
analogous
#2E8CAE #2E4CAE #502EAE
triadic
#2E4CAE #AE2E4C #4CAE2E
tetradic
#2E4CAE #AE2E8C #AE902E #2EAE50
square
#2E4CAE #AE2E8C #AE902E #2EAE50
split-complementary
#2E4CAE #AE502E #8CAE2E
monochromatic
#14224D #21377E #2E4CAE #4A69CF #7A91DC
Accessibility & contrast
On white
7.61
#2E4CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2E4CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4CAE
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4CAE | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4cae; /* rgb */ color: rgb(46, 76, 174); /* oklch */ color: oklch(45.4% 0.161 266.9);
Tailwind
colors: {
custom: {
50: '#797dc7',
500: '#2e4cae',
950: '#000000',
},
}SCSS
$custom: #2e4cae; $custom-light: #797dc7; $custom-dark: #000000;
JSON
{
"hex": "#2e4cae",
"rgb": {
"r": 46,
"g": 76,
"b": 174
},
"hsl": {
"h": 225.938,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.45368,
"c": 0.16052,
"h": 266.9
},
"luminance": 0.08806
}Semantic roles & 50–950 ramp
primary
#2E4CAE
secondary
#C4B174
accent
#BD46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82