#291B86#291B86
#291B86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.166 H 277.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #291B86 |
|---|---|
| RGB | rgb(41, 27, 134) |
| HSL | hsl(248, 66%, 32%) |
| HSV | hsv(248, 80%, 53%) |
| CMYK | cmyk(69.4%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(19.95, 39.71, -56.84) |
| CIE-LCH | lch(19.95, 69.33, 304.94°) |
| OKLab | oklab(32.74% 0.0229 -0.1642) |
| OKLCH | oklch(32.74% 0.166 277.9) |
| XYZ | xyz(5.6081, 2.9760, 22.8285) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.83
Midnight Blue
#191970
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 4.45
Darkblue
#00008B
ΔE00 4.92
Navy
#000080
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B86 #78861B
analogous
#1B4386 #291B86 #5F1B86
triadic
#291B86 #86291B #1B8629
tetradic
#291B86 #861B43 #78861B #1B865F
square
#291B86 #861B43 #78861B #1B865F
split-complementary
#291B86 #865F1B #43861B
monochromatic
#0A0620 #191153 #291B86 #3925B9 #5642D9
Accessibility & contrast
On white
13.16
#291B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#291B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B86
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B86 | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291b86; /* rgb */ color: rgb(41, 27, 134); /* oklch */ color: oklch(32.7% 0.166 277.9);
Tailwind
colors: {
custom: {
50: '#715aaa',
500: '#291b86',
950: '#000000',
},
}SCSS
$custom: #291b86; $custom-light: #715aaa; $custom-dark: #000000;
JSON
{
"hex": "#291b86",
"rgb": {
"r": 41,
"g": 27,
"b": 134
},
"hsl": {
"h": 247.85,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32742,
"c": 0.16578,
"h": 277.9
},
"luminance": 0.02977
}Semantic roles & 50–950 ramp
primary
#291B86
secondary
#AAB944
accent
#E93ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F