#291886#291886
#291886 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.169 H 278.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #291886 |
|---|---|
| RGB | rgb(41, 24, 134) |
| HSL | hsl(249, 70%, 31%) |
| HSV | hsv(249, 82%, 53%) |
| CMYK | cmyk(69.4%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(19.41, 41.25, -57.72) |
| CIE-LCH | lch(19.41, 70.94, 305.55°) |
| OKLab | oklab(32.37% 0.0244 -0.1667) |
| OKLCH | oklch(32.37% 0.169 278.3) |
| XYZ | xyz(5.5428, 2.8454, 22.8068) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Indigo (survey)
#380282
ΔE00 3.88
Midnight Blue
#191970
ΔE00 4.06
Darkblue
#00008B
ΔE00 4.39
Navy
#000080
ΔE00 4.76
Cobalt Blue
#030AA7
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291886 #758618
analogous
#183E86 #291886 #601886
triadic
#291886 #862918 #188629
tetradic
#291886 #86183E #758618 #188660
square
#291886 #86183E #758618 #188660
split-complementary
#291886 #866018 #3E8618
monochromatic
#09051E #190F52 #291886 #3921BA #553CDC
Accessibility & contrast
On white
13.38
#291886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#291886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291886
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291886 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291886; /* rgb */ color: rgb(41, 24, 134); /* oklch */ color: oklch(32.4% 0.169 278.3);
Tailwind
colors: {
custom: {
50: '#7259aa',
500: '#291886',
950: '#000000',
},
}SCSS
$custom: #291886; $custom-light: #7259aa; $custom-dark: #000000;
JSON
{
"hex": "#291886",
"rgb": {
"r": 41,
"g": 24,
"b": 134
},
"hsl": {
"h": 249.273,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.3237,
"c": 0.1685,
"h": 278.3
},
"luminance": 0.02846
}Semantic roles & 50–950 ramp
primary
#291886
secondary
#A7BA40
accent
#EC3BD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F