#291C85#291C85
#291C85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.164 H 277.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #291C85 |
|---|---|
| RGB | rgb(41, 28, 133) |
| HSL | hsl(247, 65%, 32%) |
| HSV | hsv(247, 79%, 52%) |
| CMYK | cmyk(69.2%, 78.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.02, 38.85, -56.08) |
| CIE-LCH | lch(20.02, 68.22, 304.71°) |
| OKLab | oklab(32.76% 0.0226 -0.162) |
| OKLCH | oklch(32.76% 0.164 277.9) |
| XYZ | xyz(5.5620, 2.9949, 22.4707) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.00
Midnight Blue
#191970
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 4.65
Darkblue
#00008B
ΔE00 5.15
Navy
#000080
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C85 #78851C
analogous
#1C4485 #291C85 #5E1C85
triadic
#291C85 #85291C #1C8529
tetradic
#291C85 #851C44 #78851C #1C855E
square
#291C85 #851C44 #78851C #1C855E
split-complementary
#291C85 #855E1C #44851C
monochromatic
#0A0720 #191152 #291C85 #3927B8 #5644D8
Accessibility & contrast
On white
13.13
#291C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#291C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C85
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C85 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291c85; /* rgb */ color: rgb(41, 28, 133); /* oklch */ color: oklch(32.8% 0.164 277.9);
Tailwind
colors: {
custom: {
50: '#715baa',
500: '#291c85',
950: '#000000',
},
}SCSS
$custom: #291c85; $custom-light: #715baa; $custom-dark: #000000;
JSON
{
"hex": "#291c85",
"rgb": {
"r": 41,
"g": 28,
"b": 133
},
"hsl": {
"h": 247.429,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.32762,
"c": 0.16357,
"h": 277.9
},
"luminance": 0.02995
}Semantic roles & 50–950 ramp
primary
#291C85
secondary
#AAB845
accent
#E840D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F