#291C7B#291C7B
#291C7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.151 H 279.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #291C7B |
|---|---|
| RGB | rgb(41, 28, 123) |
| HSL | hsl(248, 63%, 30%) |
| HSV | hsv(248, 77%, 48%) |
| CMYK | cmyk(66.7%, 77.2%, 0%, 51.8%) |
| CIE-LAB | lab(18.94, 35.55, -51.54) |
| CIE-LCH | lch(18.94, 62.61, 304.60°) |
| OKLab | oklab(31.67% 0.0251 -0.1488) |
| OKLCH | oklch(31.67% 0.151 279.6) |
| XYZ | xyz(4.9037, 2.7316, 19.0039) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.56
Royal
#0C1793
ΔE00 4.29
Indigo (survey)
#380282
ΔE00 4.95
Dark Royal Blue
#02066F
ΔE00 5.35
Deep Blue
#040273
ΔE00 5.63
Navy
#000080
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C7B #6E7B1C
analogous
#1C3E7B #291C7B #591C7B
triadic
#291C7B #7B291C #1C7B29
tetradic
#291C7B #7B1C3E #6E7B1C #1C7B59
square
#291C7B #7B1C3E #6E7B1C #1C7B59
split-complementary
#291C7B #7B591C #3E7B1C
monochromatic
#080619 #181149 #291C7B #3A27AD #533ED3
Accessibility & contrast
On white
13.58
#291C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#291C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C7B
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C7B | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291c7b; /* rgb */ color: rgb(41, 28, 123); /* oklch */ color: oklch(31.7% 0.151 279.6);
Tailwind
colors: {
custom: {
50: '#6f5aa2',
500: '#291c7b',
950: '#000000',
},
}SCSS
$custom: #291c7b; $custom-light: #6f5aa2; $custom-dark: #000000;
JSON
{
"hex": "#291c7b",
"rgb": {
"r": 41,
"g": 28,
"b": 123
},
"hsl": {
"h": 248.211,
"s": 62.914,
"l": 29.608
},
"oklch": {
"l": 0.31672,
"c": 0.15086,
"h": 279.6
},
"luminance": 0.02732
}Semantic roles & 50–950 ramp
primary
#291C7B
secondary
#A0AF44
accent
#E642D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F