#2E47A6#2E47A6
#2E47A6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.156 H 268.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47A6 |
|---|---|
| RGB | rgb(46, 71, 166) |
| HSL | hsl(228, 57%, 42%) |
| HSV | hsv(228, 72%, 65%) |
| CMYK | cmyk(72.3%, 57.2%, 0%, 34.9%) |
| CIE-LAB | lab(33.65, 24.08, -54.02) |
| CIE-LCH | lch(33.65, 59.15, 294.03°) |
| OKLab | oklab(43.7% -0.0052 -0.1557) |
| OKLCH | oklch(43.7% 0.156 268.1) |
| XYZ | xyz(10.2605, 7.8394, 37.0414) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Cobalt (survey)
#1E488F
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 4.73
Blue Blue
#2242C7
ΔE00 4.83
Sapphire
#0F52BA
ΔE00 5.13
Blueberry
#464196
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47A6 #A68D2E
analogous
#2E83A6 #2E47A6 #512EA6
triadic
#2E47A6 #A62E47 #47A62E
tetradic
#2E47A6 #A62E83 #A68D2E #2EA651
square
#2E47A6 #A62E83 #A68D2E #2EA651
split-complementary
#2E47A6 #A6512E #83A62E
monochromatic
#131E46 #213376 #2E47A6 #4662CC #768AD9
Accessibility & contrast
On white
8.18
#2E47A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2E47A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47A6
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47A6 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e47a6; /* rgb */ color: rgb(46, 71, 166); /* oklch */ color: oklch(43.7% 0.156 268.1);
Tailwind
colors: {
custom: {
50: '#7779c1',
500: '#2e47a6',
950: '#000000',
},
}SCSS
$custom: #2e47a6; $custom-light: #7779c1; $custom-dark: #000000;
JSON
{
"hex": "#2e47a6",
"rgb": {
"r": 46,
"g": 71,
"b": 166
},
"hsl": {
"h": 227.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.43704,
"c": 0.15577,
"h": 268.1
},
"luminance": 0.0784
}Semantic roles & 50–950 ramp
primary
#2E47A6
secondary
#C1B06F
accent
#C048E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81