#2A47A0#2A47A0
#2A47A0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.149 H 266.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47A0 |
|---|---|
| RGB | rgb(42, 71, 160) |
| HSL | hsl(225, 58%, 40%) |
| HSV | hsv(225, 74%, 63%) |
| CMYK | cmyk(73.8%, 55.6%, 0%, 37.3%) |
| CIE-LAB | lab(33.00, 21.26, -51.48) |
| CIE-LCH | lch(33.00, 55.70, 292.44°) |
| OKLab | oklab(43.02% -0.0092 -0.1483) |
| OKLCH | oklch(43.02% 0.149 266.5) |
| XYZ | xyz(9.5510, 7.5358, 34.2021) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Cobalt (survey)
#1E488F
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.24
Blueberry
#464196
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47A0 #A0832A
analogous
#2A82A0 #2A47A0 #482AA0
triadic
#2A47A0 #A02A47 #47A02A
tetradic
#2A47A0 #A02A82 #A0832A #2AA048
square
#2A47A0 #A02A82 #A0832A #2AA048
split-complementary
#2A47A0 #A0482A #82A02A
monochromatic
#111C3F #1D3170 #2A47A0 #3C5FCC #6C87D8
Accessibility & contrast
On white
8.38
#2A47A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2A47A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47A0
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47A0 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a47a0; /* rgb */ color: rgb(42, 71, 160); /* oklch */ color: oklch(43.0% 0.149 266.5);
Tailwind
colors: {
custom: {
50: '#7479bd',
500: '#2a47a0',
950: '#000000',
},
}SCSS
$custom: #2a47a0; $custom-light: #7479bd; $custom-dark: #000000;
JSON
{
"hex": "#2a47a0",
"rgb": {
"r": 42,
"g": 71,
"b": 160
},
"hsl": {
"h": 225.254,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.43019,
"c": 0.14857,
"h": 266.5
},
"luminance": 0.07537
}Semantic roles & 50–950 ramp
primary
#2A47A0
secondary
#BFA967
accent
#BB46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81