#291999#291999
#291999 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.190 H 275.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #291999 |
|---|---|
| RGB | rgb(41, 25, 153) |
| HSL | hsl(248, 72%, 35%) |
| HSV | hsv(248, 84%, 60%) |
| CMYK | cmyk(73.2%, 83.7%, 0%, 40%) |
| CIE-LAB | lab(21.82, 46.66, -65.55) |
| CIE-LCH | lch(21.82, 80.46, 305.44°) |
| OKLab | oklab(34.69% 0.0183 -0.1895) |
| OKLCH | oklch(34.69% 0.19 275.5) |
| XYZ | xyz(7.0100, 3.4659, 30.4304) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.30
Cobalt Blue
#030AA7
ΔE00 3.07
Royal Blue (survey)
#0504AA
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 3.84
Ultramarine
#2000B1
ΔE00 3.89
Darkblue
#00008B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291999 #899919
analogous
#194999 #291999 #691999
triadic
#291999 #992919 #199929
tetradic
#291999 #991949 #899919 #199969
square
#291999 #991949 #899919 #199969
split-complementary
#291999 #996919 #499919
monochromatic
#0D0830 #1B1064 #291999 #3722CE #5E4BE2
Accessibility & contrast
On white
12.40
#291999 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#291999 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291999
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291999 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291999 | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002E97
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #291999; /* rgb */ color: rgb(41, 25, 153); /* oklch */ color: oklch(34.7% 0.190 275.5);
Tailwind
colors: {
custom: {
50: '#765bb8',
500: '#291999',
950: '#000000',
},
}SCSS
$custom: #291999; $custom-light: #765bb8; $custom-dark: #000000;
JSON
{
"hex": "#291999",
"rgb": {
"r": 41,
"g": 25,
"b": 153
},
"hsl": {
"h": 247.5,
"s": 71.91,
"l": 34.902
},
"oklch": {
"l": 0.3469,
"c": 0.19037,
"h": 275.5
},
"luminance": 0.03467
}Semantic roles & 50–950 ramp
primary
#291999
secondary
#B4C34A
accent
#EF39D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981