#291F86#291F86
#291F86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.162 H 277.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #291F86 |
|---|---|
| RGB | rgb(41, 31, 134) |
| HSL | hsl(246, 62%, 32%) |
| HSV | hsv(246, 77%, 53%) |
| CMYK | cmyk(69.4%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.72, 37.50, -55.56) |
| CIE-LCH | lch(20.72, 67.03, 304.02°) |
| OKLab | oklab(33.28% 0.0206 -0.1605) |
| OKLCH | oklch(33.28% 0.162 277.3) |
| XYZ | xyz(5.7061, 3.1721, 22.8612) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.18
Midnight Blue
#191970
ΔE00 3.91
Indigo (survey)
#380282
ΔE00 5.31
Darkblue
#00008B
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 5.77
Navy
#000080
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291F86 #7C861F
analogous
#1F4986 #291F86 #5C1F86
triadic
#291F86 #86291F #1F8629
tetradic
#291F86 #861F49 #7C861F #1F865C
square
#291F86 #861F49 #7C861F #1F865C
split-complementary
#291F86 #865C1F #49861F
monochromatic
#0B0823 #1A1454 #291F86 #382AB8 #584AD5
Accessibility & contrast
On white
12.85
#291F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#291F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291F86
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291F86 | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #291f86; /* rgb */ color: rgb(41, 31, 134); /* oklch */ color: oklch(33.3% 0.162 277.3);
Tailwind
colors: {
custom: {
50: '#715daa',
500: '#291f86',
950: '#000000',
},
}SCSS
$custom: #291f86; $custom-light: #715daa; $custom-dark: #000000;
JSON
{
"hex": "#291f86",
"rgb": {
"r": 41,
"g": 31,
"b": 134
},
"hsl": {
"h": 245.825,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.33285,
"c": 0.16183,
"h": 277.3
},
"luminance": 0.03173
}Semantic roles & 50–950 ramp
primary
#291F86
secondary
#ADB849
accent
#E542D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F