#2E4EAE#2E4EAE
#2E4EAE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.158 H 266.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EAE |
|---|---|
| RGB | rgb(46, 78, 174) |
| HSL | hsl(225, 58%, 43%) |
| HSV | hsv(225, 74%, 68%) |
| CMYK | cmyk(73.6%, 55.2%, 0%, 31.8%) |
| CIE-LAB | lab(36.15, 22.45, -54.73) |
| CIE-LCH | lch(36.15, 59.16, 292.30°) |
| OKLab | oklab(45.78% -0.0103 -0.1577) |
| OKLCH | oklch(45.78% 0.158 266.3) |
| XYZ | xyz(11.4884, 9.0844, 41.1842) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.23
Cobalt (survey)
#1E488F
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.24
Dusk Blue
#26538D
ΔE00 5.82
Denim Blue
#3B5B92
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EAE #AE8E2E
analogous
#2E8EAE #2E4EAE #4E2EAE
triadic
#2E4EAE #AE2E4E #4EAE2E
tetradic
#2E4EAE #AE2E8E #AE8E2E #2EAE4E
square
#2E4EAE #AE2E8E #AE8E2E #2EAE4E
split-complementary
#2E4EAE #AE4E2E #8EAE2E
monochromatic
#14234D #21387E #2E4EAE #4A6BCF #7A93DC
Accessibility & contrast
On white
7.45
#2E4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2E4EAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EAE
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EAE | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4eae; /* rgb */ color: rgb(46, 78, 174); /* oklch */ color: oklch(45.8% 0.158 266.3);
Tailwind
colors: {
custom: {
50: '#787fc7',
500: '#2e4eae',
950: '#000000',
},
}SCSS
$custom: #2e4eae; $custom-light: #787fc7; $custom-dark: #000000;
JSON
{
"hex": "#2e4eae",
"rgb": {
"r": 46,
"g": 78,
"b": 174
},
"hsl": {
"h": 225,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.45776,
"c": 0.15801,
"h": 266.3
},
"luminance": 0.09086
}Semantic roles & 50–950 ramp
primary
#2E4EAE
secondary
#C4B074
accent
#BB46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82