#2947AC#2947AC
#2947AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.165 H 266.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2947AC |
|---|---|
| RGB | rgb(41, 71, 172) |
| HSL | hsl(226, 62%, 42%) |
| HSV | hsv(226, 76%, 67%) |
| CMYK | cmyk(76.2%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.89, 25.72, -57.22) |
| CIE-LCH | lch(33.89, 62.73, 294.20°) |
| OKLab | oklab(43.97% -0.0094 -0.1652) |
| OKLCH | oklch(43.97% 0.165 266.7) |
| XYZ | xyz(10.6115, 7.9553, 39.9980) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.68
Blue Blue
#2242C7
ΔE00 4.11
Sapphire (survey)
#2138AB
ΔE00 4.61
Sapphire
#0F52BA
ΔE00 4.63
Cobalt (survey)
#1E488F
ΔE00 4.98
Blueberry
#464196
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2947AC #AC8E29
analogous
#2988AC #2947AC #4D29AC
triadic
#2947AC #AC2947 #47AC29
tetradic
#2947AC #AC2988 #AC8E29 #29AC4D
square
#2947AC #AC2988 #AC8E29 #29AC4D
split-complementary
#2947AC #AC4D29 #88AC29
monochromatic
#111E49 #1D337B #2947AC #4162D2 #728BDD
Accessibility & contrast
On white
8.10
#2947AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2947AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2947AC
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2947AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2947AC | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2947ac; /* rgb */ color: rgb(41, 71, 172); /* oklch */ color: oklch(44.0% 0.165 266.7);
Tailwind
colors: {
custom: {
50: '#7779c6',
500: '#2947ac',
950: '#000000',
},
}SCSS
$custom: #2947ac; $custom-light: #7779c6; $custom-dark: #000000;
JSON
{
"hex": "#2947ac",
"rgb": {
"r": 41,
"g": 71,
"b": 172
},
"hsl": {
"h": 226.26,
"s": 61.502,
"l": 41.765
},
"oklch": {
"l": 0.43972,
"c": 0.16546,
"h": 266.7
},
"luminance": 0.07956
}Semantic roles & 50–950 ramp
primary
#2947AC
secondary
#C5B06C
accent
#C043E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82