#291887#291887
#291887 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.170 H 278.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #291887 |
|---|---|
| RGB | rgb(41, 24, 135) |
| HSL | hsl(249, 70%, 31%) |
| HSV | hsv(249, 82%, 53%) |
| CMYK | cmyk(69.6%, 82.2%, 0%, 47.1%) |
| CIE-LAB | lab(19.53, 41.56, -58.16) |
| CIE-LCH | lch(19.53, 71.48, 305.55°) |
| OKLab | oklab(32.49% 0.0241 -0.168) |
| OKLCH | oklch(32.49% 0.17 278.2) |
| XYZ | xyz(5.6128, 2.8735, 23.1758) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.66
Indigo (survey)
#380282
ΔE00 3.90
Midnight Blue
#191970
ΔE00 4.18
Darkblue
#00008B
ΔE00 4.36
Navy
#000080
ΔE00 4.78
Cobalt Blue
#030AA7
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291887 #768718
analogous
#183E87 #291887 #601887
triadic
#291887 #872918 #188729
tetradic
#291887 #87183E #768718 #188760
square
#291887 #87183E #768718 #188760
split-complementary
#291887 #876018 #3E8718
monochromatic
#09061F #190F53 #291887 #3921BB #553DDC
Accessibility & contrast
On white
13.34
#291887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#291887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291887
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291887 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291887; /* rgb */ color: rgb(41, 24, 135); /* oklch */ color: oklch(32.5% 0.170 278.2);
Tailwind
colors: {
custom: {
50: '#7259ab',
500: '#291887',
950: '#000000',
},
}SCSS
$custom: #291887; $custom-light: #7259ab; $custom-dark: #000000;
JSON
{
"hex": "#291887",
"rgb": {
"r": 41,
"g": 24,
"b": 135
},
"hsl": {
"h": 249.189,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.32485,
"c": 0.16972,
"h": 278.2
},
"luminance": 0.02874
}Semantic roles & 50–950 ramp
primary
#291887
secondary
#A8BB40
accent
#ED3BD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F