#291C82#291C82
#291C82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.160 H 278.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #291C82 |
|---|---|
| RGB | rgb(41, 28, 130) |
| HSL | hsl(248, 65%, 31%) |
| HSV | hsv(248, 78%, 51%) |
| CMYK | cmyk(68.5%, 78.5%, 0%, 49%) |
| CIE-LAB | lab(19.69, 37.86, -54.73) |
| CIE-LCH | lch(19.69, 66.55, 304.67°) |
| OKLab | oklab(32.43% 0.0233 -0.1581) |
| OKLCH | oklch(32.43% 0.16 278.4) |
| XYZ | xyz(5.3577, 2.9132, 21.3947) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 3.37
Indigo (survey)
#380282
ΔE00 4.69
Darkblue
#00008B
ΔE00 5.29
Navy
#000080
ΔE00 5.47
Dark Royal Blue
#02066F
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C82 #75821C
analogous
#1C4282 #291C82 #5C1C82
triadic
#291C82 #82291C #1C8229
tetradic
#291C82 #821C42 #75821C #1C825C
square
#291C82 #821C42 #75821C #1C825C
split-complementary
#291C82 #825C1C #42821C
monochromatic
#09061D #191150 #291C82 #3927B4 #5542D6
Accessibility & contrast
On white
13.27
#291C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#291C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C82
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C82 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291c82; /* rgb */ color: rgb(41, 28, 130); /* oklch */ color: oklch(32.4% 0.160 278.4);
Tailwind
colors: {
custom: {
50: '#705ba7',
500: '#291c82',
950: '#000000',
},
}SCSS
$custom: #291c82; $custom-light: #705ba7; $custom-dark: #000000;
JSON
{
"hex": "#291c82",
"rgb": {
"r": 41,
"g": 28,
"b": 130
},
"hsl": {
"h": 247.647,
"s": 64.557,
"l": 30.98
},
"oklch": {
"l": 0.32432,
"c": 0.15979,
"h": 278.4
},
"luminance": 0.02914
}Semantic roles & 50–950 ramp
primary
#291C82
secondary
#A7B544
accent
#E840D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F