#2A47A5#2A47A5
#2A47A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.156 H 266.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47A5 |
|---|---|
| RGB | rgb(42, 71, 165) |
| HSL | hsl(226, 59%, 41%) |
| HSV | hsv(226, 75%, 65%) |
| CMYK | cmyk(74.5%, 57%, 0%, 35.3%) |
| CIE-LAB | lab(33.38, 23.17, -53.86) |
| CIE-LCH | lch(33.38, 58.63, 293.28°) |
| OKLab | oklab(43.43% -0.0089 -0.1553) |
| OKLCH | oklch(43.43% 0.156 266.7) |
| XYZ | xyz(9.9972, 7.7143, 36.5521) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.59
Cobalt (survey)
#1E488F
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 4.90
Blue Blue
#2242C7
ΔE00 5.07
Blueberry
#464196
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47A5 #A5882A
analogous
#2A84A5 #2A47A5 #4B2AA5
triadic
#2A47A5 #A52A47 #47A52A
tetradic
#2A47A5 #A52A84 #A5882A #2AA54B
square
#2A47A5 #A52A84 #A5882A #2AA54B
split-complementary
#2A47A5 #A54B2A #84A52A
monochromatic
#111D43 #1E3274 #2A47A5 #3E60CE #6F88DA
Accessibility & contrast
On white
8.26
#2A47A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A47A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47A5
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47A5 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a47a5; /* rgb */ color: rgb(42, 71, 165); /* oklch */ color: oklch(43.4% 0.156 266.7);
Tailwind
colors: {
custom: {
50: '#7579c0',
500: '#2a47a5',
950: '#000000',
},
}SCSS
$custom: #2a47a5; $custom-light: #7579c0; $custom-dark: #000000;
JSON
{
"hex": "#2a47a5",
"rgb": {
"r": 42,
"g": 71,
"b": 165
},
"hsl": {
"h": 225.854,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.43429,
"c": 0.15555,
"h": 266.7
},
"luminance": 0.07715
}Semantic roles & 50–950 ramp
primary
#2A47A5
secondary
#C1AD69
accent
#BD45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81