#291B85#291B85
#291B85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.165 H 278.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #291B85 |
|---|---|
| RGB | rgb(41, 27, 133) |
| HSL | hsl(248, 66%, 31%) |
| HSV | hsv(248, 80%, 52%) |
| CMYK | cmyk(69.2%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(19.84, 39.38, -56.39) |
| CIE-LCH | lch(19.84, 68.78, 304.93°) |
| OKLab | oklab(32.63% 0.0231 -0.1629) |
| OKLCH | oklch(32.63% 0.165 278.1) |
| XYZ | xyz(5.5387, 2.9483, 22.4629) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.94
Midnight Blue
#191970
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 4.45
Darkblue
#00008B
ΔE00 4.96
Navy
#000080
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B85 #77851B
analogous
#1B4285 #291B85 #5E1B85
triadic
#291B85 #85291B #1B8529
tetradic
#291B85 #851B42 #77851B #1B855E
square
#291B85 #851B42 #77851B #1B855E
split-complementary
#291B85 #855E1B #42851B
monochromatic
#0A061F #191152 #291B85 #3925B8 #5642D9
Accessibility & contrast
On white
13.21
#291B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#291B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B85
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B85 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291b85; /* rgb */ color: rgb(41, 27, 133); /* oklch */ color: oklch(32.6% 0.165 278.1);
Tailwind
colors: {
custom: {
50: '#715aaa',
500: '#291b85',
950: '#000000',
},
}SCSS
$custom: #291b85; $custom-light: #715aaa; $custom-dark: #000000;
JSON
{
"hex": "#291b85",
"rgb": {
"r": 41,
"g": 27,
"b": 133
},
"hsl": {
"h": 247.925,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.32631,
"c": 0.16453,
"h": 278.1
},
"luminance": 0.02949
}Semantic roles & 50–950 ramp
primary
#291B85
secondary
#A9B844
accent
#E93FD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F