#2A47A8#2A47A8
#2A47A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.160 H 266.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47A8 |
|---|---|
| RGB | rgb(42, 71, 168) |
| HSL | hsl(226, 60%, 41%) |
| HSV | hsv(226, 75%, 66%) |
| CMYK | cmyk(75%, 57.7%, 0%, 34.1%) |
| CIE-LAB | lab(33.62, 24.32, -55.28) |
| CIE-LCH | lch(33.62, 60.39, 293.74°) |
| OKLab | oklab(43.68% -0.0087 -0.1595) |
| OKLCH | oklch(43.68% 0.16 266.9) |
| XYZ | xyz(10.2735, 7.8248, 38.0071) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.63
Cobalt (survey)
#1E488F
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 4.79
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47A8 #A88B2A
analogous
#2A86A8 #2A47A8 #4C2AA8
triadic
#2A47A8 #A82A47 #47A82A
tetradic
#2A47A8 #A82A86 #A88B2A #2AA84C
square
#2A47A8 #A82A86 #A88B2A #2AA84C
split-complementary
#2A47A8 #A84C2A #86A82A
monochromatic
#121E46 #1E3277 #2A47A8 #4061CF #7189DB
Accessibility & contrast
On white
8.19
#2A47A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A47A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47A8
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47A8 | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a47a8; /* rgb */ color: rgb(42, 71, 168); /* oklch */ color: oklch(43.7% 0.160 266.9);
Tailwind
colors: {
custom: {
50: '#7679c3',
500: '#2a47a8',
950: '#000000',
},
}SCSS
$custom: #2a47a8; $custom-light: #7679c3; $custom-dark: #000000;
JSON
{
"hex": "#2a47a8",
"rgb": {
"r": 42,
"g": 71,
"b": 168
},
"hsl": {
"h": 226.19,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.43679,
"c": 0.1597,
"h": 266.9
},
"luminance": 0.07826
}Semantic roles & 50–950 ramp
primary
#2A47A8
secondary
#C3AE6B
accent
#BF45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81