#291F85#291F85
#291F85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.161 H 277.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #291F85 |
|---|---|
| RGB | rgb(41, 31, 133) |
| HSL | hsl(246, 62%, 32%) |
| HSV | hsv(246, 77%, 52%) |
| CMYK | cmyk(69.2%, 76.7%, 0%, 47.8%) |
| CIE-LAB | lab(20.61, 37.17, -55.11) |
| CIE-LCH | lch(20.61, 66.47, 304.00°) |
| OKLab | oklab(33.18% 0.0208 -0.1592) |
| OKLCH | oklch(33.18% 0.161 277.4) |
| XYZ | xyz(5.6367, 3.1444, 22.4956) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.28
Midnight Blue
#191970
ΔE00 3.78
Indigo (survey)
#380282
ΔE00 5.32
Darkblue
#00008B
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 5.89
Navy
#000080
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291F85 #7B851F
analogous
#1F4885 #291F85 #5C1F85
triadic
#291F85 #85291F #1F8529
tetradic
#291F85 #851F48 #7B851F #1F855C
square
#291F85 #851F48 #7B851F #1F855C
split-complementary
#291F85 #855C1F #48851F
monochromatic
#0A0822 #1A1353 #291F85 #382BB7 #574AD5
Accessibility & contrast
On white
12.89
#291F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#291F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291F85
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291F85 | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #291f85; /* rgb */ color: rgb(41, 31, 133); /* oklch */ color: oklch(33.2% 0.161 277.4);
Tailwind
colors: {
custom: {
50: '#715daa',
500: '#291f85',
950: '#000000',
},
}SCSS
$custom: #291f85; $custom-light: #715daa; $custom-dark: #000000;
JSON
{
"hex": "#291f85",
"rgb": {
"r": 41,
"g": 31,
"b": 133
},
"hsl": {
"h": 245.882,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.33177,
"c": 0.16055,
"h": 277.4
},
"luminance": 0.03145
}Semantic roles & 50–950 ramp
primary
#291F85
secondary
#ACB749
accent
#E543D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F