#2947A6#2947A6
#2947A6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.157 H 266.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2947A6 |
|---|---|
| RGB | rgb(41, 71, 166) |
| HSL | hsl(226, 60%, 41%) |
| HSV | hsv(226, 75%, 65%) |
| CMYK | cmyk(75.3%, 57.2%, 0%, 34.9%) |
| CIE-LAB | lab(33.41, 23.43, -54.41) |
| CIE-LCH | lch(33.41, 59.24, 293.30°) |
| OKLab | oklab(43.47% -0.0097 -0.1569) |
| OKLCH | oklch(43.47% 0.157 266.5) |
| XYZ | xyz(10.0482, 7.7300, 37.0315) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.48
Cobalt (survey)
#1E488F
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 4.96
Blueberry
#464196
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2947A6 #A68829
analogous
#2985A6 #2947A6 #4929A6
triadic
#2947A6 #A62947 #47A629
tetradic
#2947A6 #A62985 #A68829 #29A649
square
#2947A6 #A62985 #A68829 #29A649
split-complementary
#2947A6 #A64929 #85A629
monochromatic
#111D44 #1D3275 #2947A6 #3D60CF #6E88DB
Accessibility & contrast
On white
8.25
#2947A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2947A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2947A6
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2947A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2947A6 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2947a6; /* rgb */ color: rgb(41, 71, 166); /* oklch */ color: oklch(43.5% 0.157 266.5);
Tailwind
colors: {
custom: {
50: '#7579c1',
500: '#2947a6',
950: '#000000',
},
}SCSS
$custom: #2947a6; $custom-light: #7579c1; $custom-dark: #000000;
JSON
{
"hex": "#2947a6",
"rgb": {
"r": 41,
"g": 71,
"b": 166
},
"hsl": {
"h": 225.6,
"s": 60.386,
"l": 40.588
},
"oklch": {
"l": 0.43467,
"c": 0.15722,
"h": 266.5
},
"luminance": 0.07731
}Semantic roles & 50–950 ramp
primary
#2947A6
secondary
#C2AD69
accent
#BD44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81