#291888#291888
#291888 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.171 H 278.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #291888 |
|---|---|
| RGB | rgb(41, 24, 136) |
| HSL | hsl(249, 70%, 31%) |
| HSV | hsv(249, 82%, 53%) |
| CMYK | cmyk(69.9%, 82.4%, 0%, 46.7%) |
| CIE-LAB | lab(19.65, 41.88, -58.59) |
| CIE-LCH | lch(19.65, 72.02, 305.55°) |
| OKLab | oklab(32.6% 0.0238 -0.1693) |
| OKLCH | oklch(32.6% 0.171 278) |
| XYZ | xyz(5.6836, 2.9018, 23.5484) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.57
Indigo (survey)
#380282
ΔE00 3.92
Midnight Blue
#191970
ΔE00 4.31
Darkblue
#00008B
ΔE00 4.34
Cobalt Blue
#030AA7
ΔE00 4.76
Navy
#000080
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291888 #778818
analogous
#183F88 #291888 #611888
triadic
#291888 #882918 #188829
tetradic
#291888 #88183F #778818 #188861
square
#291888 #88183F #778818 #188861
split-complementary
#291888 #886118 #3F8818
monochromatic
#0A0620 #190F54 #291888 #3921BC #563EDD
Accessibility & contrast
On white
13.29
#291888 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#291888 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291888
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291888 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291888 | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291888; /* rgb */ color: rgb(41, 24, 136); /* oklch */ color: oklch(32.6% 0.171 278.0);
Tailwind
colors: {
custom: {
50: '#7259ac',
500: '#291888',
950: '#000000',
},
}SCSS
$custom: #291888; $custom-light: #7259ac; $custom-dark: #000000;
JSON
{
"hex": "#291888",
"rgb": {
"r": 41,
"g": 24,
"b": 136
},
"hsl": {
"h": 249.107,
"s": 70,
"l": 31.373
},
"oklch": {
"l": 0.326,
"c": 0.17093,
"h": 278
},
"luminance": 0.02902
}Semantic roles & 50–950 ramp
primary
#291888
secondary
#A9BC40
accent
#ED3BD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F