#291A82#291A82
#291A82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.162 H 278.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #291A82 |
|---|---|
| RGB | rgb(41, 26, 130) |
| HSL | hsl(249, 67%, 31%) |
| HSV | hsv(249, 80%, 51%) |
| CMYK | cmyk(68.5%, 80%, 0%, 49%) |
| CIE-LAB | lab(19.31, 38.95, -55.36) |
| CIE-LCH | lch(19.31, 67.69, 305.13°) |
| OKLab | oklab(32.17% 0.0245 -0.1599) |
| OKLCH | oklch(32.17% 0.162 278.7) |
| XYZ | xyz(5.3118, 2.8215, 21.3794) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.25
Midnight Blue
#191970
ΔE00 3.44
Indigo (survey)
#380282
ΔE00 4.27
Darkblue
#00008B
ΔE00 4.91
Navy
#000080
ΔE00 5.08
Dark Royal Blue
#02066F
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A82 #73821A
analogous
#1A3F82 #291A82 #5D1A82
triadic
#291A82 #82291A #1A8229
tetradic
#291A82 #821A3F #73821A #1A825D
square
#291A82 #821A3F #73821A #1A825D
split-complementary
#291A82 #825D1A #3F821A
monochromatic
#09061C #19104F #291A82 #3924B5 #543ED8
Accessibility & contrast
On white
13.42
#291A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A82
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A82 | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291a82; /* rgb */ color: rgb(41, 26, 130); /* oklch */ color: oklch(32.2% 0.162 278.7);
Tailwind
colors: {
custom: {
50: '#7159a7',
500: '#291a82',
950: '#000000',
},
}SCSS
$custom: #291a82; $custom-light: #7159a7; $custom-dark: #000000;
JSON
{
"hex": "#291a82",
"rgb": {
"r": 41,
"g": 26,
"b": 130
},
"hsl": {
"h": 248.654,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.32166,
"c": 0.16175,
"h": 278.7
},
"luminance": 0.02822
}Semantic roles & 50–950 ramp
primary
#291A82
secondary
#A5B642
accent
#EA3ED1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F