#291B79#291B79
#291B79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.149 H 280.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #291B79 |
|---|---|
| RGB | rgb(41, 27, 121) |
| HSL | hsl(249, 64%, 29%) |
| HSV | hsv(249, 78%, 47%) |
| CMYK | cmyk(66.1%, 77.7%, 0%, 52.5%) |
| CIE-LAB | lab(18.52, 35.46, -50.94) |
| CIE-LCH | lch(18.52, 62.07, 304.84°) |
| OKLab | oklab(31.32% 0.0263 -0.147) |
| OKLCH | oklch(31.32% 0.149 280.1) |
| XYZ | xyz(4.7565, 2.6354, 18.3435) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 4.86
Dark Royal Blue
#02066F
ΔE00 5.13
Deep Blue
#040273
ΔE00 5.44
Navy
#000080
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B79 #6B791B
analogous
#1B3C79 #291B79 #581B79
triadic
#291B79 #79291B #1B7929
tetradic
#291B79 #791B3C #6B791B #1B7958
square
#291B79 #791B3C #6B791B #1B7958
split-complementary
#291B79 #79581B #3C791B
monochromatic
#080619 #181047 #291B79 #3A26AB #523BD3
Accessibility & contrast
On white
13.75
#291B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#291B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B79
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B79 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #291b79; /* rgb */ color: rgb(41, 27, 121); /* oklch */ color: oklch(31.3% 0.149 280.1);
Tailwind
colors: {
custom: {
50: '#6e59a1',
500: '#291b79',
950: '#000000',
},
}SCSS
$custom: #291b79; $custom-light: #6e59a1; $custom-dark: #000000;
JSON
{
"hex": "#291b79",
"rgb": {
"r": 41,
"g": 27,
"b": 121
},
"hsl": {
"h": 248.936,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.31315,
"c": 0.14935,
"h": 280.1
},
"luminance": 0.02636
}Semantic roles & 50–950 ramp
primary
#291B79
secondary
#9DAD43
accent
#E741CE
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F