#2A47A3#2A47A3
#2A47A3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.153 H 266.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47A3 |
|---|---|
| RGB | rgb(42, 71, 163) |
| HSL | hsl(226, 59%, 40%) |
| HSV | hsv(226, 74%, 64%) |
| CMYK | cmyk(74.2%, 56.4%, 0%, 36.1%) |
| CIE-LAB | lab(33.23, 22.41, -52.91) |
| CIE-LCH | lch(33.23, 57.46, 292.95°) |
| OKLab | oklab(43.26% -0.009 -0.1525) |
| OKLCH | oklch(43.26% 0.153 266.6) |
| XYZ | xyz(9.8166, 7.6420, 35.6009) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Cobalt (survey)
#1E488F
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 5.00
Sapphire (survey)
#2138AB
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.36
Blueberry
#464196
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47A3 #A3862A
analogous
#2A83A3 #2A47A3 #4A2AA3
triadic
#2A47A3 #A32A47 #47A32A
tetradic
#2A47A3 #A32A83 #A3862A #2AA34A
square
#2A47A3 #A32A83 #A3862A #2AA34A
split-complementary
#2A47A3 #A34A2A #83A32A
monochromatic
#111D42 #1D3272 #2A47A3 #3D60CD #6E88DA
Accessibility & contrast
On white
8.30
#2A47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2A47A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47A3
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47A3 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a47a3; /* rgb */ color: rgb(42, 71, 163); /* oklch */ color: oklch(43.3% 0.153 266.6);
Tailwind
colors: {
custom: {
50: '#7579bf',
500: '#2a47a3',
950: '#000000',
},
}SCSS
$custom: #2a47a3; $custom-light: #7579bf; $custom-dark: #000000;
JSON
{
"hex": "#2a47a3",
"rgb": {
"r": 42,
"g": 71,
"b": 163
},
"hsl": {
"h": 225.62,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.43264,
"c": 0.15276,
"h": 266.6
},
"luminance": 0.07643
}Semantic roles & 50–950 ramp
primary
#2A47A3
secondary
#C0AB68
accent
#BD46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81