#291885#291885
#291885 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.167 H 278.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #291885 |
|---|---|
| RGB | rgb(41, 24, 133) |
| HSL | hsl(249, 69%, 31%) |
| HSV | hsv(249, 82%, 52%) |
| CMYK | cmyk(69.2%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(19.30, 40.93, -57.28) |
| CIE-LCH | lch(19.30, 70.40, 305.55°) |
| OKLab | oklab(32.26% 0.0247 -0.1655) |
| OKLCH | oklch(32.26% 0.167 278.5) |
| XYZ | xyz(5.4734, 2.8177, 22.4412) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.87
Indigo (survey)
#380282
ΔE00 3.87
Midnight Blue
#191970
ΔE00 3.93
Darkblue
#00008B
ΔE00 4.43
Navy
#000080
ΔE00 4.74
Cobalt Blue
#030AA7
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291885 #748518
analogous
#183D85 #291885 #5F1885
triadic
#291885 #852918 #188529
tetradic
#291885 #85183D #748518 #18855F
square
#291885 #85183D #748518 #18855F
split-complementary
#291885 #855F18 #3D8518
monochromatic
#09051D #190F51 #291885 #3921B9 #553CDC
Accessibility & contrast
On white
13.43
#291885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291885
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291885 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291885; /* rgb */ color: rgb(41, 24, 133); /* oklch */ color: oklch(32.3% 0.167 278.5);
Tailwind
colors: {
custom: {
50: '#7159aa',
500: '#291885',
950: '#000000',
},
}SCSS
$custom: #291885; $custom-light: #7159aa; $custom-dark: #000000;
JSON
{
"hex": "#291885",
"rgb": {
"r": 41,
"g": 24,
"b": 133
},
"hsl": {
"h": 249.358,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.32256,
"c": 0.16729,
"h": 278.5
},
"luminance": 0.02818
}Semantic roles & 50–950 ramp
primary
#291885
secondary
#A6B940
accent
#EC3CD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F