#291B84#291B84
#291B84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.163 H 278.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #291B84 |
|---|---|
| RGB | rgb(41, 27, 132) |
| HSL | hsl(248, 66%, 31%) |
| HSV | hsv(248, 80%, 52%) |
| CMYK | cmyk(68.9%, 79.5%, 0%, 48.2%) |
| CIE-LAB | lab(19.72, 39.06, -55.95) |
| CIE-LCH | lch(19.72, 68.23, 304.92°) |
| OKLab | oklab(32.52% 0.0234 -0.1616) |
| OKLCH | oklch(32.52% 0.163 278.2) |
| XYZ | xyz(5.4699, 2.9208, 22.1008) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.05
Midnight Blue
#191970
ΔE00 3.66
Indigo (survey)
#380282
ΔE00 4.45
Darkblue
#00008B
ΔE00 5.00
Navy
#000080
ΔE00 5.26
Cobalt Blue
#030AA7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B84 #76841B
analogous
#1B4184 #291B84 #5D1B84
triadic
#291B84 #84291B #1B8429
tetradic
#291B84 #841B41 #76841B #1B845D
square
#291B84 #841B41 #76841B #1B845D
split-complementary
#291B84 #845D1B #41841B
monochromatic
#09061E #191151 #291B84 #3925B7 #5541D8
Accessibility & contrast
On white
13.26
#291B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#291B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B84
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B84 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291b84; /* rgb */ color: rgb(41, 27, 132); /* oklch */ color: oklch(32.5% 0.163 278.2);
Tailwind
colors: {
custom: {
50: '#715aa9',
500: '#291b84',
950: '#000000',
},
}SCSS
$custom: #291b84; $custom-light: #715aa9; $custom-dark: #000000;
JSON
{
"hex": "#291b84",
"rgb": {
"r": 41,
"g": 27,
"b": 132
},
"hsl": {
"h": 248,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.32519,
"c": 0.16329,
"h": 278.2
},
"luminance": 0.02921
}Semantic roles & 50–950 ramp
primary
#291B84
secondary
#A8B743
accent
#E93FD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F