#2947AB#2947AB
#2947AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.164 H 266.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2947AB |
|---|---|
| RGB | rgb(41, 71, 171) |
| HSL | hsl(226, 61%, 42%) |
| HSV | hsv(226, 76%, 67%) |
| CMYK | cmyk(76%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(33.81, 25.34, -56.75) |
| CIE-LCH | lch(33.81, 62.15, 294.06°) |
| OKLab | oklab(43.89% -0.0095 -0.1638) |
| OKLCH | oklch(43.89% 0.164 266.7) |
| XYZ | xyz(10.5158, 7.9170, 39.4941) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.63
Blue Blue
#2242C7
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 4.64
Sapphire
#0F52BA
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 4.85
Blueberry
#464196
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2947AB #AB8D29
analogous
#2988AB #2947AB #4C29AB
triadic
#2947AB #AB2947 #47AB29
tetradic
#2947AB #AB2988 #AB8D29 #29AB4C
square
#2947AB #AB2988 #AB8D29 #29AB4C
split-complementary
#2947AB #AB4C29 #88AB29
monochromatic
#111E48 #1D337A #2947AB #4062D1 #718ADD
Accessibility & contrast
On white
8.13
#2947AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2947AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2947AB
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2947AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2947AB | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2947ab; /* rgb */ color: rgb(41, 71, 171); /* oklch */ color: oklch(43.9% 0.164 266.7);
Tailwind
colors: {
custom: {
50: '#7679c5',
500: '#2947ab',
950: '#000000',
},
}SCSS
$custom: #2947ab; $custom-light: #7679c5; $custom-dark: #000000;
JSON
{
"hex": "#2947ab",
"rgb": {
"r": 41,
"g": 71,
"b": 171
},
"hsl": {
"h": 226.154,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.43887,
"c": 0.16409,
"h": 266.7
},
"luminance": 0.07918
}Semantic roles & 50–950 ramp
primary
#2947AB
secondary
#C4B06C
accent
#BF43E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82