#2947AF#2947AF
#2947AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.170 H 266.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2947AF |
|---|---|
| RGB | rgb(41, 71, 175) |
| HSL | hsl(227, 62%, 42%) |
| HSV | hsv(227, 77%, 69%) |
| CMYK | cmyk(76.6%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(34.13, 26.86, -58.61) |
| CIE-LCH | lch(34.13, 64.47, 294.62°) |
| OKLab | oklab(44.23% -0.0094 -0.1693) |
| OKLCH | oklch(44.23% 0.17 266.8) |
| XYZ | xyz(10.9028, 8.0718, 41.5325) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.87
Blue Blue
#2242C7
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 4.55
Sapphire
#0F52BA
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 5.38
Ocean Blue
#4F42B5
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2947AF #AF9129
analogous
#298AAF #2947AF #4E29AF
triadic
#2947AF #AF2947 #47AF29
tetradic
#2947AF #AF298A #AF9129 #29AF4E
square
#2947AF #AF298A #AF9129 #29AF4E
split-complementary
#2947AF #AF4E29 #8AAF29
monochromatic
#121F4C #1D337D #2947AF #4263D3 #748CDE
Accessibility & contrast
On white
8.03
#2947AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2947AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2947AF
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2947AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2947AF | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2947af; /* rgb */ color: rgb(41, 71, 175); /* oklch */ color: oklch(44.2% 0.170 266.8);
Tailwind
colors: {
custom: {
50: '#7779c8',
500: '#2947af',
950: '#000000',
},
}SCSS
$custom: #2947af; $custom-light: #7779c8; $custom-dark: #000000;
JSON
{
"hex": "#2947af",
"rgb": {
"r": 41,
"g": 71,
"b": 175
},
"hsl": {
"h": 226.567,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.44229,
"c": 0.16953,
"h": 266.8
},
"luminance": 0.08073
}Semantic roles & 50–950 ramp
primary
#2947AF
secondary
#C6B26E
accent
#C143E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82