#291D79#291D79
#291D79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.147 H 279.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #291D79 |
|---|---|
| RGB | rgb(41, 29, 121) |
| HSL | hsl(248, 61%, 29%) |
| HSV | hsv(248, 76%, 47%) |
| CMYK | cmyk(66.1%, 76%, 0%, 52.5%) |
| CIE-LAB | lab(18.93, 34.31, -50.27) |
| CIE-LCH | lch(18.93, 60.86, 304.31°) |
| OKLab | oklab(31.6% 0.0249 -0.1451) |
| OKLCH | oklch(31.6% 0.147 279.7) |
| XYZ | xyz(4.8039, 2.7302, 18.3593) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.38
Royal
#0C1793
ΔE00 4.66
Indigo (survey)
#380282
ΔE00 5.31
Dark Royal Blue
#02066F
ΔE00 5.50
Deep Blue
#040273
ΔE00 5.85
Navy
#000080
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291D79 #6D791D
analogous
#1D3F79 #291D79 #571D79
triadic
#291D79 #79291D #1D7929
tetradic
#291D79 #791D3F #6D791D #1D7957
square
#291D79 #791D3F #6D791D #1D7957
split-complementary
#291D79 #79571D #3F791D
monochromatic
#080619 #181148 #291D79 #3A29AA #523FD1
Accessibility & contrast
On white
13.58
#291D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#291D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291D79
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291D79 | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291d79; /* rgb */ color: rgb(41, 29, 121); /* oklch */ color: oklch(31.6% 0.147 279.7);
Tailwind
colors: {
custom: {
50: '#6e5ba1',
500: '#291d79',
950: '#000000',
},
}SCSS
$custom: #291d79; $custom-light: #6e5ba1; $custom-dark: #000000;
JSON
{
"hex": "#291d79",
"rgb": {
"r": 41,
"g": 29,
"b": 121
},
"hsl": {
"h": 247.826,
"s": 61.333,
"l": 29.412
},
"oklch": {
"l": 0.31604,
"c": 0.14718,
"h": 279.7
},
"luminance": 0.02731
}Semantic roles & 50–950 ramp
primary
#291D79
secondary
#9FAD45
accent
#E443CF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F