#291C97#291C97
#291C97 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.186 H 275.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #291C97 |
|---|---|
| RGB | rgb(41, 28, 151) |
| HSL | hsl(246, 69%, 35%) |
| HSV | hsv(246, 81%, 59%) |
| CMYK | cmyk(72.8%, 81.5%, 0%, 40.8%) |
| CIE-LAB | lab(22.07, 44.61, -63.90) |
| CIE-LCH | lch(22.07, 77.94, 304.92°) |
| OKLab | oklab(34.8% 0.0177 -0.1848) |
| OKLCH | oklch(34.8% 0.186 275.5) |
| XYZ | xyz(6.9138, 3.5356, 29.5902) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.31
Cobalt Blue
#030AA7
ΔE00 3.58
Royal Blue (survey)
#0504AA
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.12
Ultramarine
#2000B1
ΔE00 4.47
Darkblue
#00008B
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C97 #8A971C
analogous
#1C4D97 #291C97 #661C97
triadic
#291C97 #97291C #1C9729
tetradic
#291C97 #971C4D #8A971C #1C9766
square
#291C97 #971C4D #8A971C #1C9766
split-complementary
#291C97 #97661C #4D971C
monochromatic
#0D0930 #1B1263 #291C97 #3726CB #5E4FDE
Accessibility & contrast
On white
12.30
#291C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#291C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C97
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C97 | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #291c97; /* rgb */ color: rgb(41, 28, 151); /* oklch */ color: oklch(34.8% 0.186 275.5);
Tailwind
colors: {
custom: {
50: '#755cb7',
500: '#291c97',
950: '#000000',
},
}SCSS
$custom: #291c97; $custom-light: #755cb7; $custom-dark: #000000;
JSON
{
"hex": "#291c97",
"rgb": {
"r": 41,
"g": 28,
"b": 151
},
"hsl": {
"h": 246.341,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.34796,
"c": 0.18561,
"h": 275.5
},
"luminance": 0.03536
}Semantic roles & 50–950 ramp
primary
#291C97
secondary
#B5C14E
accent
#EC3CD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980