#291D7F#291D7F
#291D7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.155 H 278.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #291D7F |
|---|---|
| RGB | rgb(41, 29, 127) |
| HSL | hsl(247, 63%, 31%) |
| HSV | hsv(247, 77%, 50%) |
| CMYK | cmyk(67.7%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.57, 36.31, -53.04) |
| CIE-LCH | lch(19.57, 64.28, 304.39°) |
| OKLab | oklab(32.25% 0.0235 -0.1532) |
| OKLCH | oklch(32.25% 0.155 278.7) |
| XYZ | xyz(5.1834, 2.8820, 20.3577) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.00
Royal
#0C1793
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 4.99
Dark Royal Blue
#02066F
ΔE00 5.66
Darkblue
#00008B
ΔE00 5.68
Navy
#000080
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291D7F #737F1D
analogous
#1D427F #291D7F #5A1D7F
triadic
#291D7F #7F291D #1D7F29
tetradic
#291D7F #7F1D42 #737F1D #1D7F5A
square
#291D7F #7F1D42 #737F1D #1D7F5A
split-complementary
#291D7F #7F5A1D #427F1D
monochromatic
#09061B #19124D #291D7F #3928B1 #5442D4
Accessibility & contrast
On white
13.32
#291D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#291D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291D7F
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291D7F | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291d7f; /* rgb */ color: rgb(41, 29, 127); /* oklch */ color: oklch(32.2% 0.155 278.7);
Tailwind
colors: {
custom: {
50: '#705ba5',
500: '#291d7f',
950: '#000000',
},
}SCSS
$custom: #291d7f; $custom-light: #705ba5; $custom-dark: #000000;
JSON
{
"hex": "#291d7f",
"rgb": {
"r": 41,
"g": 29,
"b": 127
},
"hsl": {
"h": 247.347,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.32245,
"c": 0.15496,
"h": 278.7
},
"luminance": 0.02882
}Semantic roles & 50–950 ramp
primary
#291D7F
secondary
#A5B245
accent
#E642D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F