#291C87#291C87
#291C87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.166 H 277.6°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #291C87 |
|---|---|
| RGB | rgb(41, 28, 135) |
| HSL | hsl(247, 66%, 32%) |
| HSV | hsv(247, 79%, 53%) |
| CMYK | cmyk(69.6%, 79.3%, 0%, 47.1%) |
| CIE-LAB | lab(20.25, 39.50, -56.97) |
| CIE-LCH | lch(20.25, 69.32, 304.73°) |
| OKLab | oklab(32.98% 0.022 -0.1646) |
| OKLCH | oklch(32.98% 0.166 277.6) |
| XYZ | xyz(5.7015, 3.0507, 23.2054) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.79
Midnight Blue
#191970
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 4.66
Darkblue
#00008B
ΔE00 5.08
Cobalt Blue
#030AA7
ΔE00 5.26
Navy
#000080
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C87 #7A871C
analogous
#1C4487 #291C87 #5F1C87
triadic
#291C87 #87291C #1C8729
tetradic
#291C87 #871C44 #7A871C #1C875F
square
#291C87 #871C44 #7A871C #1C875F
split-complementary
#291C87 #875F1C #44871C
monochromatic
#0A0722 #1A1154 #291C87 #3827BA #5745D8
Accessibility & contrast
On white
13.04
#291C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#291C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C87
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C87 | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #291c87; /* rgb */ color: rgb(41, 28, 135); /* oklch */ color: oklch(33.0% 0.166 277.6);
Tailwind
colors: {
custom: {
50: '#725bab',
500: '#291c87',
950: '#000000',
},
}SCSS
$custom: #291c87; $custom-light: #725bab; $custom-dark: #000000;
JSON
{
"hex": "#291c87",
"rgb": {
"r": 41,
"g": 28,
"b": 135
},
"hsl": {
"h": 247.29,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.32984,
"c": 0.16607,
"h": 277.6
},
"luminance": 0.03051
}Semantic roles & 50–950 ramp
primary
#291C87
secondary
#ACBA45
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F