#2E47AA#2E47AA
#2E47AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.161 H 268.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47AA |
|---|---|
| RGB | rgb(46, 71, 170) |
| HSL | hsl(228, 57%, 42%) |
| HSV | hsv(228, 73%, 67%) |
| CMYK | cmyk(72.9%, 58.2%, 0%, 33.3%) |
| CIE-LAB | lab(33.96, 25.58, -55.90) |
| CIE-LCH | lch(33.96, 61.48, 294.59°) |
| OKLab | oklab(44.04% -0.005 -0.1612) |
| OKLCH | oklch(44.04% 0.161 268.2) |
| XYZ | xyz(10.6331, 7.9885, 39.0040) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.17
Blue Blue
#2242C7
ΔE00 4.27
Sapphire (survey)
#2138AB
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 5.11
Blueberry
#464196
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47AA #AA912E
analogous
#2E85AA #2E47AA #532EAA
triadic
#2E47AA #AA2E47 #47AA2E
tetradic
#2E47AA #AA2E85 #AA912E #2EAA53
square
#2E47AA #AA2E85 #AA912E #2EAA53
split-complementary
#2E47AA #AA532E #85AA2E
monochromatic
#141F4A #21337A #2E47AA #4863CD #788CDA
Accessibility & contrast
On white
8.08
#2E47AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2E47AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47AA
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47AA | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e47aa; /* rgb */ color: rgb(46, 71, 170); /* oklch */ color: oklch(44.0% 0.161 268.2);
Tailwind
colors: {
custom: {
50: '#7879c4',
500: '#2e47aa',
950: '#000000',
},
}SCSS
$custom: #2e47aa; $custom-light: #7879c4; $custom-dark: #000000;
JSON
{
"hex": "#2e47aa",
"rgb": {
"r": 46,
"g": 71,
"b": 170
},
"hsl": {
"h": 227.903,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.44037,
"c": 0.1613,
"h": 268.2
},
"luminance": 0.0799
}Semantic roles & 50–950 ramp
primary
#2E47AA
secondary
#C3B271
accent
#C247E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82