#2E47A9#2E47A9
#2E47A9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.160 H 268.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47A9 |
|---|---|
| RGB | rgb(46, 71, 169) |
| HSL | hsl(228, 57%, 42%) |
| HSV | hsv(228, 73%, 66%) |
| CMYK | cmyk(72.8%, 58%, 0%, 33.7%) |
| CIE-LAB | lab(33.88, 25.21, -55.44) |
| CIE-LCH | lch(33.88, 60.90, 294.45°) |
| OKLab | oklab(43.95% -0.005 -0.1598) |
| OKLCH | oklch(43.95% 0.16 268.2) |
| XYZ | xyz(10.5389, 7.9508, 38.5077) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.13
Blue Blue
#2242C7
ΔE00 4.41
Sapphire (survey)
#2138AB
ΔE00 4.60
Cobalt (survey)
#1E488F
ΔE00 4.98
Sapphire
#0F52BA
ΔE00 5.04
Blueberry
#464196
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47A9 #A9902E
analogous
#2E85A9 #2E47A9 #532EA9
triadic
#2E47A9 #A92E47 #47A92E
tetradic
#2E47A9 #A92E85 #A9902E #2EA953
square
#2E47A9 #A92E85 #A9902E #2EA953
split-complementary
#2E47A9 #A9532E #85A92E
monochromatic
#141F49 #213379 #2E47A9 #4762CD #778BDA
Accessibility & contrast
On white
8.11
#2E47A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2E47A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47A9
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47A9 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e47a9; /* rgb */ color: rgb(46, 71, 169); /* oklch */ color: oklch(44.0% 0.160 268.2);
Tailwind
colors: {
custom: {
50: '#7879c3',
500: '#2e47a9',
950: '#000000',
},
}SCSS
$custom: #2e47a9; $custom-light: #7879c3; $custom-dark: #000000;
JSON
{
"hex": "#2e47a9",
"rgb": {
"r": 46,
"g": 71,
"b": 169
},
"hsl": {
"h": 227.805,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.43953,
"c": 0.15992,
"h": 268.2
},
"luminance": 0.07952
}Semantic roles & 50–950 ramp
primary
#2E47A9
secondary
#C2B271
accent
#C147E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82