#291CA1#291CA1
#291CA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.197 H 274.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #291CA1 |
|---|---|
| RGB | rgb(41, 28, 161) |
| HSL | hsl(246, 70%, 37%) |
| HSV | hsv(246, 83%, 63%) |
| CMYK | cmyk(74.5%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(23.25, 47.73, -68.08) |
| CIE-LCH | lch(23.25, 83.14, 305.03°) |
| OKLab | oklab(35.96% 0.015 -0.1969) |
| OKLCH | oklch(35.96% 0.197 274.4) |
| XYZ | xyz(7.7606, 3.8743, 34.0501) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.93
Royal
#0C1793
ΔE00 3.07
Cobalt Blue
#030AA7
ΔE00 3.12
Royal Blue (survey)
#0504AA
ΔE00 3.54
Ultramarine
#2000B1
ΔE00 3.60
True Blue
#010FCC
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291CA1 #94A11C
analogous
#1C51A1 #291CA1 #6C1CA1
triadic
#291CA1 #A1291C #1CA129
tetradic
#291CA1 #A11C51 #94A11C #1CA16C
square
#291CA1 #A11C51 #94A11C #1CA16C
split-complementary
#291CA1 #A16C1C #51A11C
monochromatic
#0E0A39 #1C136D #291CA1 #3625D5 #6356E2
Accessibility & contrast
On white
11.83
#291CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#291CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291CA1
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291CA1 | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #291ca1; /* rgb */ color: rgb(41, 28, 161); /* oklch */ color: oklch(36.0% 0.197 274.4);
Tailwind
colors: {
custom: {
50: '#785dbe',
500: '#291ca1',
950: '#000000',
},
}SCSS
$custom: #291ca1; $custom-light: #785dbe; $custom-dark: #000000;
JSON
{
"hex": "#291ca1",
"rgb": {
"r": 41,
"g": 28,
"b": 161
},
"hsl": {
"h": 245.865,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.35956,
"c": 0.19744,
"h": 274.4
},
"luminance": 0.03875
}Semantic roles & 50–950 ramp
primary
#291CA1
secondary
#BAC554
accent
#ED3BDC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981