#291E7F#291E7F
#291E7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.154 H 278.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #291E7F |
|---|---|
| RGB | rgb(41, 30, 127) |
| HSL | hsl(247, 62%, 31%) |
| HSV | hsv(247, 76%, 50%) |
| CMYK | cmyk(67.7%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(19.77, 35.74, -52.71) |
| CIE-LCH | lch(19.77, 63.68, 304.14°) |
| OKLab | oklab(32.39% 0.0228 -0.1522) |
| OKLCH | oklch(32.39% 0.154 278.5) |
| XYZ | xyz(5.2083, 2.9318, 20.3660) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.01
Royal
#0C1793
ΔE00 3.89
Indigo (survey)
#380282
ΔE00 5.23
Dark Royal Blue
#02066F
ΔE00 5.84
Darkblue
#00008B
ΔE00 5.89
Navy
#000080
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E7F #747F1E
analogous
#1E437F #291E7F #591E7F
triadic
#291E7F #7F291E #1E7F29
tetradic
#291E7F #7F1E43 #747F1E #1E7F59
square
#291E7F #7F1E43 #747F1E #1E7F59
split-complementary
#291E7F #7F591E #437F1E
monochromatic
#09071C #19124D #291E7F #392AB1 #5544D3
Accessibility & contrast
On white
13.24
#291E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#291E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E7F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E7F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291e7f; /* rgb */ color: rgb(41, 30, 127); /* oklch */ color: oklch(32.4% 0.154 278.5);
Tailwind
colors: {
custom: {
50: '#705ca5',
500: '#291e7f',
950: '#000000',
},
}SCSS
$custom: #291e7f; $custom-light: #705ca5; $custom-dark: #000000;
JSON
{
"hex": "#291e7f",
"rgb": {
"r": 41,
"g": 30,
"b": 127
},
"hsl": {
"h": 246.804,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.32389,
"c": 0.1539,
"h": 278.5
},
"luminance": 0.02932
}Semantic roles & 50–950 ramp
primary
#291E7F
secondary
#A6B247
accent
#E543D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F