#291E7E#291E7E
#291E7E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.153 H 278.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #291E7E |
|---|---|
| RGB | rgb(41, 30, 126) |
| HSL | hsl(247, 62%, 31%) |
| HSV | hsv(247, 76%, 49%) |
| CMYK | cmyk(67.5%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.66, 35.40, -52.25) |
| CIE-LCH | lch(19.66, 63.11, 304.12°) |
| OKLab | oklab(32.28% 0.023 -0.1509) |
| OKLCH | oklch(32.28% 0.153 278.7) |
| XYZ | xyz(5.1434, 2.9059, 20.0245) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.90
Royal
#0C1793
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 5.27
Dark Royal Blue
#02066F
ΔE00 5.80
Darkblue
#00008B
ΔE00 5.96
Navy
#000080
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E7E #737E1E
analogous
#1E437E #291E7E #591E7E
triadic
#291E7E #7E291E #1E7E29
tetradic
#291E7E #7E1E43 #737E1E #1E7E59
square
#291E7E #7E1E43 #737E1E #1E7E59
split-complementary
#291E7E #7E591E #437E1E
monochromatic
#09061B #19124D #291E7E #392AAF #5444D2
Accessibility & contrast
On white
13.28
#291E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#291E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E7E
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E7E | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291e7e; /* rgb */ color: rgb(41, 30, 126); /* oklch */ color: oklch(32.3% 0.153 278.7);
Tailwind
colors: {
custom: {
50: '#6f5ca4',
500: '#291e7e',
950: '#000000',
},
}SCSS
$custom: #291e7e; $custom-light: #6f5ca4; $custom-dark: #000000;
JSON
{
"hex": "#291e7e",
"rgb": {
"r": 41,
"g": 30,
"b": 126
},
"hsl": {
"h": 246.875,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.32282,
"c": 0.1526,
"h": 278.7
},
"luminance": 0.02906
}Semantic roles & 50–950 ramp
primary
#291E7E
secondary
#A5B147
accent
#E543D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F