#291C86#291C86
#291C86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.165 H 277.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #291C86 |
|---|---|
| RGB | rgb(41, 28, 134) |
| HSL | hsl(247, 65%, 32%) |
| HSV | hsv(247, 79%, 53%) |
| CMYK | cmyk(69.4%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.13, 39.17, -56.53) |
| CIE-LCH | lch(20.13, 68.77, 304.72°) |
| OKLab | oklab(32.87% 0.0223 -0.1633) |
| OKLCH | oklch(32.87% 0.165 277.8) |
| XYZ | xyz(5.6314, 3.0227, 22.8363) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Midnight Blue
#191970
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 4.65
Darkblue
#00008B
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.39
Navy
#000080
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C86 #79861C
analogous
#1C4486 #291C86 #5E1C86
triadic
#291C86 #86291C #1C8629
tetradic
#291C86 #861C44 #79861C #1C865E
square
#291C86 #861C44 #79861C #1C865E
split-complementary
#291C86 #865E1C #44861C
monochromatic
#0A0721 #1A1153 #291C86 #3827B9 #5644D8
Accessibility & contrast
On white
13.09
#291C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#291C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C86
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C86 | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #291c86; /* rgb */ color: rgb(41, 28, 134); /* oklch */ color: oklch(32.9% 0.165 277.8);
Tailwind
colors: {
custom: {
50: '#715baa',
500: '#291c86',
950: '#000000',
},
}SCSS
$custom: #291c86; $custom-light: #715baa; $custom-dark: #000000;
JSON
{
"hex": "#291c86",
"rgb": {
"r": 41,
"g": 28,
"b": 134
},
"hsl": {
"h": 247.358,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.32873,
"c": 0.16483,
"h": 277.8
},
"luminance": 0.03023
}Semantic roles & 50–950 ramp
primary
#291C86
secondary
#ABB945
accent
#E83FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F