#2947A2#2947A2
#2947A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.152 H 266.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2947A2 |
|---|---|
| RGB | rgb(41, 71, 162) |
| HSL | hsl(225, 60%, 40%) |
| HSV | hsv(225, 75%, 64%) |
| CMYK | cmyk(74.7%, 56.2%, 0%, 36.5%) |
| CIE-LAB | lab(33.10, 21.90, -52.51) |
| CIE-LCH | lch(33.10, 56.89, 292.64°) |
| OKLab | oklab(43.14% -0.0099 -0.1513) |
| OKLCH | oklch(43.14% 0.152 266.2) |
| XYZ | xyz(9.6870, 7.5855, 35.1290) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.52
Cobalt (survey)
#1E488F
ΔE00 3.66
Sapphire
#0F52BA
ΔE00 4.99
Sapphire (survey)
#2138AB
ΔE00 5.12
Blue Blue
#2242C7
ΔE00 5.53
Blueberry
#464196
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2947A2 #A28429
analogous
#2984A2 #2947A2 #4829A2
triadic
#2947A2 #A22947 #47A229
tetradic
#2947A2 #A22984 #A28429 #29A248
square
#2947A2 #A22984 #A28429 #29A248
split-complementary
#2947A2 #A24829 #84A229
monochromatic
#101C40 #1D3271 #2947A2 #3B5FCD #6C87DA
Accessibility & contrast
On white
8.34
#2947A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2947A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2947A2
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2947A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2947A2 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 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: #2947a2; /* rgb */ color: rgb(41, 71, 162); /* oklch */ color: oklch(43.1% 0.152 266.2);
Tailwind
colors: {
custom: {
50: '#7479be',
500: '#2947a2',
950: '#000000',
},
}SCSS
$custom: #2947a2; $custom-light: #7479be; $custom-dark: #000000;
JSON
{
"hex": "#2947a2",
"rgb": {
"r": 41,
"g": 71,
"b": 162
},
"hsl": {
"h": 225.124,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.43136,
"c": 0.15166,
"h": 266.2
},
"luminance": 0.07587
}Semantic roles & 50–950 ramp
primary
#2947A2
secondary
#C0AA67
accent
#BC45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81