#291C7E#291C7E
#291C7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.155 H 279.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #291C7E |
|---|---|
| RGB | rgb(41, 28, 126) |
| HSL | hsl(248, 64%, 30%) |
| HSV | hsv(248, 78%, 49%) |
| CMYK | cmyk(67.5%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(19.26, 36.55, -52.92) |
| CIE-LCH | lch(19.26, 64.31, 304.63°) |
| OKLab | oklab(32% 0.0244 -0.1528) |
| OKLCH | oklch(32% 0.155 279.1) |
| XYZ | xyz(5.0944, 2.8079, 20.0081) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.88
Royal
#0C1793
ΔE00 3.87
Indigo (survey)
#380282
ΔE00 4.81
Dark Royal Blue
#02066F
ΔE00 5.45
Darkblue
#00008B
ΔE00 5.55
Navy
#000080
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C7E #717E1C
analogous
#1C407E #291C7E #5A1C7E
triadic
#291C7E #7E291C #1C7E29
tetradic
#291C7E #7E1C40 #717E1C #1C7E5A
square
#291C7E #7E1C40 #717E1C #1C7E5A
split-complementary
#291C7E #7E5A1C #407E1C
monochromatic
#08061A #19114C #291C7E #3927B0 #5440D5
Accessibility & contrast
On white
13.45
#291C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C7E
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C7E | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291c7e; /* rgb */ color: rgb(41, 28, 126); /* oklch */ color: oklch(32.0% 0.155 279.1);
Tailwind
colors: {
custom: {
50: '#705aa4',
500: '#291c7e',
950: '#000000',
},
}SCSS
$custom: #291c7e; $custom-light: #705aa4; $custom-dark: #000000;
JSON
{
"hex": "#291c7e",
"rgb": {
"r": 41,
"g": 28,
"b": 126
},
"hsl": {
"h": 247.959,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.31995,
"c": 0.15472,
"h": 279.1
},
"luminance": 0.02808
}Semantic roles & 50–950 ramp
primary
#291C7E
secondary
#A3B244
accent
#E741D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F