#291B78#291B78
#291B78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.148 H 280.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #291B78 |
|---|---|
| RGB | rgb(41, 27, 120) |
| HSL | hsl(249, 63%, 29%) |
| HSV | hsv(249, 78%, 47%) |
| CMYK | cmyk(65.8%, 77.5%, 0%, 52.9%) |
| CIE-LAB | lab(18.41, 35.13, -50.48) |
| CIE-LCH | lch(18.41, 61.50, 304.84°) |
| OKLab | oklab(31.21% 0.0265 -0.1457) |
| OKLCH | oklch(31.21% 0.148 280.3) |
| XYZ | xyz(4.6955, 2.6110, 18.0222) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.31
Royal
#0C1793
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 4.93
Dark Royal Blue
#02066F
ΔE00 5.11
Deep Blue
#040273
ΔE00 5.44
Navy
#000080
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B78 #6A781B
analogous
#1B3C78 #291B78 #581B78
triadic
#291B78 #78291B #1B7829
tetradic
#291B78 #781B3C #6A781B #1B7858
square
#291B78 #781B3C #6A781B #1B7858
split-complementary
#291B78 #78581B #3C781B
monochromatic
#090619 #181046 #291B78 #3A26AA #523BD3
Accessibility & contrast
On white
13.80
#291B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#291B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B78
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B78 | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #291b78; /* rgb */ color: rgb(41, 27, 120); /* oklch */ color: oklch(31.2% 0.148 280.3);
Tailwind
colors: {
custom: {
50: '#6e59a0',
500: '#291b78',
950: '#000000',
},
}SCSS
$custom: #291b78; $custom-light: #6e59a0; $custom-dark: #000000;
JSON
{
"hex": "#291b78",
"rgb": {
"r": 41,
"g": 27,
"b": 120
},
"hsl": {
"h": 249.032,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.31207,
"c": 0.14806,
"h": 280.3
},
"luminance": 0.02611
}Semantic roles & 50–950 ramp
primary
#291B78
secondary
#9CAC43
accent
#E641CD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F