#291C7D#291C7D
#291C7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.153 H 279.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #291C7D |
|---|---|
| RGB | rgb(41, 28, 125) |
| HSL | hsl(248, 63%, 30%) |
| HSV | hsv(248, 78%, 49%) |
| CMYK | cmyk(67.2%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(19.15, 36.22, -52.46) |
| CIE-LCH | lch(19.15, 63.75, 304.62°) |
| OKLab | oklab(31.89% 0.0246 -0.1514) |
| OKLCH | oklch(31.89% 0.153 279.2) |
| XYZ | xyz(5.0302, 2.7822, 19.6700) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.77
Royal
#0C1793
ΔE00 4.00
Indigo (survey)
#380282
ΔE00 4.85
Dark Royal Blue
#02066F
ΔE00 5.41
Navy
#000080
ΔE00 5.60
Darkblue
#00008B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C7D #707D1C
analogous
#1C407D #291C7D #591C7D
triadic
#291C7D #7D291C #1C7D29
tetradic
#291C7D #7D1C40 #707D1C #1C7D59
square
#291C7D #7D1C40 #707D1C #1C7D59
split-complementary
#291C7D #7D591C #407D1C
monochromatic
#080619 #19114B #291C7D #3927AF #533FD4
Accessibility & contrast
On white
13.49
#291C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C7D
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C7D | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291c7d; /* rgb */ color: rgb(41, 28, 125); /* oklch */ color: oklch(31.9% 0.153 279.2);
Tailwind
colors: {
custom: {
50: '#6f5aa4',
500: '#291c7d',
950: '#000000',
},
}SCSS
$custom: #291c7d; $custom-light: #6f5aa4; $custom-dark: #000000;
JSON
{
"hex": "#291c7d",
"rgb": {
"r": 41,
"g": 28,
"b": 125
},
"hsl": {
"h": 248.041,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.31887,
"c": 0.15344,
"h": 279.2
},
"luminance": 0.02783
}Semantic roles & 50–950 ramp
primary
#291C7D
secondary
#A2B144
accent
#E641D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F