#2E47A4#2E47A4
#2E47A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.153 H 268.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47A4 |
|---|---|
| RGB | rgb(46, 71, 164) |
| HSL | hsl(227, 56%, 41%) |
| HSV | hsv(227, 72%, 64%) |
| CMYK | cmyk(72%, 56.7%, 0%, 35.7%) |
| CIE-LAB | lab(33.49, 23.33, -53.07) |
| CIE-LCH | lch(33.49, 57.97, 293.73°) |
| OKLab | oklab(43.54% -0.0053 -0.1529) |
| OKLCH | oklch(43.54% 0.153 268) |
| XYZ | xyz(10.0785, 7.7666, 36.0827) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Cobalt (survey)
#1E488F
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.84
Blue Blue
#2242C7
ΔE00 5.11
Sapphire
#0F52BA
ΔE00 5.22
Blueberry
#464196
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47A4 #A48B2E
analogous
#2E82A4 #2E47A4 #502EA4
triadic
#2E47A4 #A42E47 #47A42E
tetradic
#2E47A4 #A42E82 #A48B2E #2EA450
square
#2E47A4 #A42E82 #A48B2E #2EA450
split-complementary
#2E47A4 #A4502E #82A42E
monochromatic
#131E44 #213274 #2E47A4 #4561CB #7489D8
Accessibility & contrast
On white
8.22
#2E47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2E47A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47A4
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47A4 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e47a4; /* rgb */ color: rgb(46, 71, 164); /* oklch */ color: oklch(43.5% 0.153 268.0);
Tailwind
colors: {
custom: {
50: '#7779c0',
500: '#2e47a4',
950: '#000000',
},
}SCSS
$custom: #2e47a4; $custom-light: #7779c0; $custom-dark: #000000;
JSON
{
"hex": "#2e47a4",
"rgb": {
"r": 46,
"g": 71,
"b": 164
},
"hsl": {
"h": 227.288,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.4354,
"c": 0.15298,
"h": 268
},
"luminance": 0.07768
}Semantic roles & 50–950 ramp
primary
#2E47A4
secondary
#C0AE6E
accent
#BF48DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81