#291C7A#291C7A
#291C7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.150 H 279.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #291C7A |
|---|---|
| RGB | rgb(41, 28, 122) |
| HSL | hsl(248, 63%, 29%) |
| HSV | hsv(248, 77%, 48%) |
| CMYK | cmyk(66.4%, 77%, 0%, 52.2%) |
| CIE-LAB | lab(18.83, 35.22, -51.07) |
| CIE-LCH | lch(18.83, 62.04, 304.59°) |
| OKLab | oklab(31.56% 0.0254 -0.1474) |
| OKLCH | oklch(31.56% 0.15 279.8) |
| XYZ | xyz(4.8414, 2.7067, 18.6759) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.46
Royal
#0C1793
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 5.01
Dark Royal Blue
#02066F
ΔE00 5.32
Deep Blue
#040273
ΔE00 5.63
Navy
#000080
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C7A #6D7A1C
analogous
#1C3E7A #291C7A #581C7A
triadic
#291C7A #7A291C #1C7A29
tetradic
#291C7A #7A1C3E #6D7A1C #1C7A58
square
#291C7A #7A1C3E #6D7A1C #1C7A58
split-complementary
#291C7A #7A581C #3E7A1C
monochromatic
#080619 #181148 #291C7A #3A27AC #523ED3
Accessibility & contrast
On white
13.62
#291C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#291C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C7A
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C7A | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291c7a; /* rgb */ color: rgb(41, 28, 122); /* oklch */ color: oklch(31.6% 0.150 279.8);
Tailwind
colors: {
custom: {
50: '#6f5aa1',
500: '#291c7a',
950: '#000000',
},
}SCSS
$custom: #291c7a; $custom-light: #6f5aa1; $custom-dark: #000000;
JSON
{
"hex": "#291c7a",
"rgb": {
"r": 41,
"g": 28,
"b": 122
},
"hsl": {
"h": 248.298,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.31564,
"c": 0.14957,
"h": 279.8
},
"luminance": 0.02707
}Semantic roles & 50–950 ramp
primary
#291C7A
secondary
#9FAE44
accent
#E642CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F