#2E47A8#2E47A8
#2E47A8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.159 H 268.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47A8 |
|---|---|
| RGB | rgb(46, 71, 168) |
| HSL | hsl(228, 57%, 42%) |
| HSV | hsv(228, 73%, 66%) |
| CMYK | cmyk(72.6%, 57.7%, 0%, 34.1%) |
| CIE-LAB | lab(33.80, 24.83, -54.96) |
| CIE-LCH | lch(33.80, 60.31, 294.31°) |
| OKLab | oklab(43.87% -0.0051 -0.1585) |
| OKLCH | oklch(43.87% 0.159 268.2) |
| XYZ | xyz(10.4454, 7.9134, 38.0151) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.11
Blue Blue
#2242C7
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 4.86
Sapphire
#0F52BA
ΔE00 5.07
Blueberry
#464196
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47A8 #A88F2E
analogous
#2E84A8 #2E47A8 #522EA8
triadic
#2E47A8 #A82E47 #47A82E
tetradic
#2E47A8 #A82E84 #A88F2E #2EA852
square
#2E47A8 #A82E84 #A88F2E #2EA852
split-complementary
#2E47A8 #A8522E #84A82E
monochromatic
#141E48 #213378 #2E47A8 #4762CD #778BDA
Accessibility & contrast
On white
8.13
#2E47A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2E47A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47A8
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47A8 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e47a8; /* rgb */ color: rgb(46, 71, 168); /* oklch */ color: oklch(43.9% 0.159 268.2);
Tailwind
colors: {
custom: {
50: '#7879c3',
500: '#2e47a8',
950: '#000000',
},
}SCSS
$custom: #2e47a8; $custom-light: #7879c3; $custom-dark: #000000;
JSON
{
"hex": "#2e47a8",
"rgb": {
"r": 46,
"g": 71,
"b": 168
},
"hsl": {
"h": 227.705,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.4387,
"c": 0.15854,
"h": 268.2
},
"luminance": 0.07914
}Semantic roles & 50–950 ramp
primary
#2E47A8
secondary
#C2B170
accent
#C148E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81