#291C90#291C90
#291C90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.177 H 276.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #291C90 |
|---|---|
| RGB | rgb(41, 28, 144) |
| HSL | hsl(247, 67%, 34%) |
| HSV | hsv(247, 81%, 56%) |
| CMYK | cmyk(71.5%, 80.6%, 0%, 43.5%) |
| CIE-LAB | lab(21.26, 42.39, -60.91) |
| CIE-LCH | lch(21.26, 74.21, 304.84°) |
| OKLab | oklab(34% 0.0196 -0.1761) |
| OKLCH | oklch(34% 0.177 276.4) |
| XYZ | xyz(6.3621, 3.3150, 26.6847) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.22
Cobalt Blue
#030AA7
ΔE00 4.21
Royal Blue (survey)
#0504AA
ΔE00 4.72
Indigo (survey)
#380282
ΔE00 4.92
Darkblue
#00008B
ΔE00 5.03
Indigo Blue
#3A18B1
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C90 #83901C
analogous
#1C4990 #291C90 #631C90
triadic
#291C90 #90291C #1C9029
tetradic
#291C90 #901C49 #83901C #1C9063
square
#291C90 #901C49 #83901C #1C9063
split-complementary
#291C90 #90631C #49901C
monochromatic
#0C082A #1A125D #291C90 #3826C3 #5B4ADC
Accessibility & contrast
On white
12.63
#291C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#291C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C90
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C90 | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #291c90; /* rgb */ color: rgb(41, 28, 144); /* oklch */ color: oklch(34.0% 0.177 276.4);
Tailwind
colors: {
custom: {
50: '#745bb2',
500: '#291c90',
950: '#000000',
},
}SCSS
$custom: #291c90; $custom-light: #745bb2; $custom-dark: #000000;
JSON
{
"hex": "#291c90",
"rgb": {
"r": 41,
"g": 28,
"b": 144
},
"hsl": {
"h": 246.724,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.33996,
"c": 0.17716,
"h": 276.4
},
"luminance": 0.03316
}Semantic roles & 50–950 ramp
primary
#291C90
secondary
#B1BE4A
accent
#EA3DD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980