#2A47A4#2A47A4
#2A47A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.154 H 266.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47A4 |
|---|---|
| RGB | rgb(42, 71, 164) |
| HSL | hsl(226, 59%, 40%) |
| HSV | hsv(226, 74%, 64%) |
| CMYK | cmyk(74.4%, 56.7%, 0%, 35.7%) |
| CIE-LAB | lab(33.30, 22.79, -53.39) |
| CIE-LCH | lch(33.30, 58.05, 293.12°) |
| OKLab | oklab(43.35% -0.0089 -0.1539) |
| OKLCH | oklch(43.35% 0.154 266.7) |
| XYZ | xyz(9.9066, 7.6780, 36.0747) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.60
Cobalt (survey)
#1E488F
ΔE00 4.00
Sapphire (survey)
#2138AB
ΔE00 4.95
Sapphire
#0F52BA
ΔE00 4.95
Blue Blue
#2242C7
ΔE00 5.21
Blueberry
#464196
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47A4 #A4872A
analogous
#2A84A4 #2A47A4 #4A2AA4
triadic
#2A47A4 #A42A47 #47A42A
tetradic
#2A47A4 #A42A84 #A4872A #2AA44A
square
#2A47A4 #A42A84 #A4872A #2AA44A
split-complementary
#2A47A4 #A44A2A #84A42A
monochromatic
#111D43 #1E3273 #2A47A4 #3E60CD #6E88DA
Accessibility & contrast
On white
8.28
#2A47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A47A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47A4
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47A4 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a47a4; /* rgb */ color: rgb(42, 71, 164); /* oklch */ color: oklch(43.3% 0.154 266.7);
Tailwind
colors: {
custom: {
50: '#7579c0',
500: '#2a47a4',
950: '#000000',
},
}SCSS
$custom: #2a47a4; $custom-light: #7579c0; $custom-dark: #000000;
JSON
{
"hex": "#2a47a4",
"rgb": {
"r": 42,
"g": 71,
"b": 164
},
"hsl": {
"h": 225.738,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.43347,
"c": 0.15416,
"h": 266.7
},
"luminance": 0.07679
}Semantic roles & 50–950 ramp
primary
#2A47A4
secondary
#C1AC69
accent
#BD45E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81