#2A47A2#2A47A2
#2A47A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.151 H 266.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47A2 |
|---|---|
| RGB | rgb(42, 71, 162) |
| HSL | hsl(226, 59%, 40%) |
| HSV | hsv(226, 74%, 64%) |
| CMYK | cmyk(74.1%, 56.2%, 0%, 36.5%) |
| CIE-LAB | lab(33.15, 22.03, -52.43) |
| CIE-LCH | lch(33.15, 56.87, 292.79°) |
| OKLab | oklab(43.18% -0.009 -0.1511) |
| OKLCH | oklch(43.18% 0.151 266.6) |
| XYZ | xyz(9.7274, 7.6063, 35.1309) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.63
Cobalt (survey)
#1E488F
ΔE00 3.74
Sapphire
#0F52BA
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.50
Blueberry
#464196
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47A2 #A2852A
analogous
#2A83A2 #2A47A2 #492AA2
triadic
#2A47A2 #A22A47 #47A22A
tetradic
#2A47A2 #A22A83 #A2852A #2AA249
square
#2A47A2 #A22A83 #A2852A #2AA249
split-complementary
#2A47A2 #A2492A #83A22A
monochromatic
#111C41 #1D3271 #2A47A2 #3D5FCD #6D87D9
Accessibility & contrast
On white
8.33
#2A47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2A47A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47A2
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47A2 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a47a2; /* rgb */ color: rgb(42, 71, 162); /* oklch */ color: oklch(43.2% 0.151 266.6);
Tailwind
colors: {
custom: {
50: '#7579be',
500: '#2a47a2',
950: '#000000',
},
}SCSS
$custom: #2a47a2; $custom-light: #7579be; $custom-dark: #000000;
JSON
{
"hex": "#2a47a2",
"rgb": {
"r": 42,
"g": 71,
"b": 162
},
"hsl": {
"h": 225.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.43182,
"c": 0.15137,
"h": 266.6
},
"luminance": 0.07607
}Semantic roles & 50–950 ramp
primary
#2A47A2
secondary
#C0AB68
accent
#BC46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81