#291C94#291C94
#291C94 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.182 H 275.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #291C94 |
|---|---|
| RGB | rgb(41, 28, 148) |
| HSL | hsl(247, 68%, 35%) |
| HSV | hsv(247, 81%, 58%) |
| CMYK | cmyk(72.3%, 81.1%, 0%, 42%) |
| CIE-LAB | lab(21.72, 43.67, -62.63) |
| CIE-LCH | lch(21.72, 76.35, 304.88°) |
| OKLab | oklab(34.45% 0.0185 -0.1811) |
| OKLCH | oklch(34.45% 0.182 275.8) |
| XYZ | xyz(6.6732, 3.4394, 28.3234) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.21
Cobalt Blue
#030AA7
ΔE00 3.83
Royal Blue (survey)
#0504AA
ΔE00 4.33
Indigo Blue
#3A18B1
ΔE00 4.51
Ultramarine
#2000B1
ΔE00 4.79
Darkblue
#00008B
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C94 #87941C
analogous
#1C4B94 #291C94 #651C94
triadic
#291C94 #94291C #1C9429
tetradic
#291C94 #941C4B #87941C #1C9465
square
#291C94 #941C4B #87941C #1C9465
split-complementary
#291C94 #94651C #4B941C
monochromatic
#0C092D #1B1261 #291C94 #3726C7 #5D4DDD
Accessibility & contrast
On white
12.44
#291C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#291C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C94
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C94 | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #291c94; /* rgb */ color: rgb(41, 28, 148); /* oklch */ color: oklch(34.5% 0.182 275.8);
Tailwind
colors: {
custom: {
50: '#755cb5',
500: '#291c94',
950: '#000000',
},
}SCSS
$custom: #291c94; $custom-light: #755cb5; $custom-dark: #000000;
JSON
{
"hex": "#291c94",
"rgb": {
"r": 41,
"g": 28,
"b": 148
},
"hsl": {
"h": 246.5,
"s": 68.182,
"l": 34.51
},
"oklch": {
"l": 0.34452,
"c": 0.18201,
"h": 275.8
},
"luminance": 0.0344
}Semantic roles & 50–950 ramp
primary
#291C94
secondary
#B3C04C
accent
#EB3DD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980