#291789#291789
#291789 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.173 H 278.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #291789 |
|---|---|
| RGB | rgb(41, 23, 137) |
| HSL | hsl(249, 71%, 31%) |
| HSV | hsv(249, 83%, 54%) |
| CMYK | cmyk(70.1%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(19.60, 42.67, -59.30) |
| CIE-LCH | lch(19.60, 73.06, 305.74°) |
| OKLab | oklab(32.6% 0.024 -0.1713) |
| OKLCH | oklch(32.6% 0.173 278) |
| XYZ | xyz(5.7347, 2.8898, 23.9176) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.49
Indigo (survey)
#380282
ΔE00 3.79
Darkblue
#00008B
ΔE00 4.17
Midnight Blue
#191970
ΔE00 4.50
Cobalt Blue
#030AA7
ΔE00 4.56
Navy
#000080
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291789 #778917
analogous
#173E89 #291789 #621789
triadic
#291789 #892917 #178929
tetradic
#291789 #89173E #778917 #178962
square
#291789 #89173E #778917 #178962
split-complementary
#291789 #896217 #3E8917
monochromatic
#0A0520 #190E55 #291789 #3920BD #563CDE
Accessibility & contrast
On white
13.31
#291789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#291789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291789
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291789 | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291789; /* rgb */ color: rgb(41, 23, 137); /* oklch */ color: oklch(32.6% 0.173 278.0);
Tailwind
colors: {
custom: {
50: '#7258ad',
500: '#291789',
950: '#000000',
},
}SCSS
$custom: #291789; $custom-light: #7258ad; $custom-dark: #000000;
JSON
{
"hex": "#291789",
"rgb": {
"r": 41,
"g": 23,
"b": 137
},
"hsl": {
"h": 249.474,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.326,
"c": 0.17298,
"h": 278
},
"luminance": 0.0289
}Semantic roles & 50–950 ramp
primary
#291789
secondary
#A9BD3F
accent
#EE3AD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F