#2947B3#2947B3
#2947B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.175 H 267.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2947B3 |
|---|---|
| RGB | rgb(41, 71, 179) |
| HSL | hsl(227, 63%, 43%) |
| HSV | hsv(227, 77%, 70%) |
| CMYK | cmyk(77.1%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.46, 28.37, -60.45) |
| CIE-LCH | lch(34.46, 66.78, 295.14°) |
| OKLab | oklab(44.58% -0.0093 -0.1747) |
| OKLCH | oklch(44.58% 0.175 267) |
| XYZ | xyz(11.3015, 8.2313, 43.6323) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.17
Cobalt
#0047AB
ΔE00 3.19
Sapphire (survey)
#2138AB
ΔE00 4.55
Sapphire
#0F52BA
ΔE00 4.60
Blue (survey)
#0343DF
ΔE00 5.58
Ocean Blue
#4F42B5
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2947B3 #B39529
analogous
#298CB3 #2947B3 #5029B3
triadic
#2947B3 #B32947 #47B329
tetradic
#2947B3 #B3298C #B39529 #29B350
square
#2947B3 #B3298C #B39529 #29B350
split-complementary
#2947B3 #B35029 #8CB329
monochromatic
#121F4F #1E3381 #2947B3 #4564D4 #778DE0
Accessibility & contrast
On white
7.93
#2947B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2947B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2947B3
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2947B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2947B3 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2947b3; /* rgb */ color: rgb(41, 71, 179); /* oklch */ color: oklch(44.6% 0.175 267.0);
Tailwind
colors: {
custom: {
50: '#7879cb',
500: '#2947b3',
950: '#000000',
},
}SCSS
$custom: #2947b3; $custom-light: #7879cb; $custom-dark: #000000;
JSON
{
"hex": "#2947b3",
"rgb": {
"r": 41,
"g": 71,
"b": 179
},
"hsl": {
"h": 226.957,
"s": 62.727,
"l": 43.137
},
"oklch": {
"l": 0.44576,
"c": 0.17492,
"h": 267
},
"luminance": 0.08233
}Semantic roles & 50–950 ramp
primary
#2947B3
secondary
#C7B470
accent
#C242E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82