#291786#291786
#291786 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.169 H 278.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #291786 |
|---|---|
| RGB | rgb(41, 23, 134) |
| HSL | hsl(250, 71%, 31%) |
| HSV | hsv(250, 83%, 53%) |
| CMYK | cmyk(69.4%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(19.25, 41.74, -58.00) |
| CIE-LCH | lch(19.25, 71.45, 305.74°) |
| OKLab | oklab(32.25% 0.0249 -0.1675) |
| OKLCH | oklch(32.25% 0.169 278.5) |
| XYZ | xyz(5.5225, 2.8050, 22.8000) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.77
Indigo (survey)
#380282
ΔE00 3.71
Midnight Blue
#191970
ΔE00 4.12
Darkblue
#00008B
ΔE00 4.23
Navy
#000080
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291786 #748617
analogous
#173C86 #291786 #601786
triadic
#291786 #862917 #178629
tetradic
#291786 #86173C #748617 #178660
square
#291786 #86173C #748617 #178660
split-complementary
#291786 #866017 #3C8617
monochromatic
#09051E #190E52 #291786 #3920BA #553ADD
Accessibility & contrast
On white
13.45
#291786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291786
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291786 | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291786; /* rgb */ color: rgb(41, 23, 134); /* oklch */ color: oklch(32.3% 0.169 278.5);
Tailwind
colors: {
custom: {
50: '#7258aa',
500: '#291786',
950: '#000000',
},
}SCSS
$custom: #291786; $custom-light: #7258aa; $custom-dark: #000000;
JSON
{
"hex": "#291786",
"rgb": {
"r": 41,
"g": 23,
"b": 134
},
"hsl": {
"h": 249.73,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.32253,
"c": 0.16936,
"h": 278.5
},
"luminance": 0.02805
}Semantic roles & 50–950 ramp
primary
#291786
secondary
#A6BA3F
accent
#ED3AD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F