#291B96#291B96
#291B96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.185 H 275.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #291B96 |
|---|---|
| RGB | rgb(41, 27, 150) |
| HSL | hsl(247, 69%, 35%) |
| HSV | hsv(247, 82%, 59%) |
| CMYK | cmyk(72.7%, 82%, 0%, 41.2%) |
| CIE-LAB | lab(21.79, 44.79, -63.76) |
| CIE-LCH | lch(21.79, 77.92, 305.09°) |
| OKLab | oklab(34.56% 0.0184 -0.1843) |
| OKLCH | oklch(34.56% 0.185 275.7) |
| XYZ | xyz(6.8096, 3.4566, 29.1566) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.21
Cobalt Blue
#030AA7
ΔE00 3.53
Royal Blue (survey)
#0504AA
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 4.23
Ultramarine
#2000B1
ΔE00 4.44
Darkblue
#00008B
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B96 #88961B
analogous
#1B4B96 #291B96 #661B96
triadic
#291B96 #96291B #1B9629
tetradic
#291B96 #961B4B #88961B #1B9666
square
#291B96 #961B4B #88961B #1B9666
split-complementary
#291B96 #96661B #4B961B
monochromatic
#0D082E #1B1262 #291B96 #3724CA #5D4DDF
Accessibility & contrast
On white
12.42
#291B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#291B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B96
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B96 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #291b96; /* rgb */ color: rgb(41, 27, 150); /* oklch */ color: oklch(34.6% 0.185 275.7);
Tailwind
colors: {
custom: {
50: '#755bb6',
500: '#291b96',
950: '#000000',
},
}SCSS
$custom: #291b96; $custom-light: #755bb6; $custom-dark: #000000;
JSON
{
"hex": "#291b96",
"rgb": {
"r": 41,
"g": 27,
"b": 150
},
"hsl": {
"h": 246.829,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.34564,
"c": 0.18525,
"h": 275.7
},
"luminance": 0.03457
}Semantic roles & 50–950 ramp
primary
#291B96
secondary
#B4C14C
accent
#EC3BD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980