#291884#291884
#291884 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.166 H 278.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #291884 |
|---|---|
| RGB | rgb(41, 24, 132) |
| HSL | hsl(249, 69%, 31%) |
| HSV | hsv(249, 82%, 52%) |
| CMYK | cmyk(68.9%, 81.8%, 0%, 48.2%) |
| CIE-LAB | lab(19.18, 40.62, -56.84) |
| CIE-LCH | lch(19.18, 69.86, 305.55°) |
| OKLab | oklab(32.14% 0.025 -0.1642) |
| OKLCH | oklch(32.14% 0.166 278.7) |
| XYZ | xyz(5.4046, 2.7902, 22.0791) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.98
Midnight Blue
#191970
ΔE00 3.80
Indigo (survey)
#380282
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.47
Navy
#000080
ΔE00 4.73
Deep Blue
#040273
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291884 #738418
analogous
#183D84 #291884 #5F1884
triadic
#291884 #842918 #188429
tetradic
#291884 #84183D #738418 #18845F
square
#291884 #84183D #738418 #18845F
split-complementary
#291884 #845F18 #3D8418
monochromatic
#09051C #190F50 #291884 #3921B8 #543BDB
Accessibility & contrast
On white
13.48
#291884 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291884 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291884
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291884 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291884 | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291884; /* rgb */ color: rgb(41, 24, 132); /* oklch */ color: oklch(32.1% 0.166 278.7);
Tailwind
colors: {
custom: {
50: '#7158a9',
500: '#291884',
950: '#000000',
},
}SCSS
$custom: #291884; $custom-light: #7158a9; $custom-dark: #000000;
JSON
{
"hex": "#291884",
"rgb": {
"r": 41,
"g": 24,
"b": 132
},
"hsl": {
"h": 249.444,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.32142,
"c": 0.16606,
"h": 278.7
},
"luminance": 0.02791
}Semantic roles & 50–950 ramp
primary
#291884
secondary
#A5B840
accent
#EC3CD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F