#291C79#291C79
#291C79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.148 H 279.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #291C79 |
|---|---|
| RGB | rgb(41, 28, 121) |
| HSL | hsl(248, 62%, 29%) |
| HSV | hsv(248, 77%, 47%) |
| CMYK | cmyk(66.1%, 76.9%, 0%, 52.5%) |
| CIE-LAB | lab(18.72, 34.89, -50.61) |
| CIE-LCH | lch(18.72, 61.47, 304.58°) |
| OKLab | oklab(31.46% 0.0256 -0.1461) |
| OKLCH | oklch(31.46% 0.148 279.9) |
| XYZ | xyz(4.7798, 2.6820, 18.3513) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.37
Royal
#0C1793
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 5.08
Dark Royal Blue
#02066F
ΔE00 5.31
Deep Blue
#040273
ΔE00 5.64
Navy
#000080
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C79 #6C791C
analogous
#1C3E79 #291C79 #581C79
triadic
#291C79 #79291C #1C7929
tetradic
#291C79 #791C3E #6C791C #1C7958
square
#291C79 #791C3E #6C791C #1C7958
split-complementary
#291C79 #79581C #3E791C
monochromatic
#080619 #181047 #291C79 #3A28AB #523DD2
Accessibility & contrast
On white
13.67
#291C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#291C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C79
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C79 | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291c79; /* rgb */ color: rgb(41, 28, 121); /* oklch */ color: oklch(31.5% 0.148 279.9);
Tailwind
colors: {
custom: {
50: '#6e5aa1',
500: '#291c79',
950: '#000000',
},
}SCSS
$custom: #291c79; $custom-light: #6e5aa1; $custom-dark: #000000;
JSON
{
"hex": "#291c79",
"rgb": {
"r": 41,
"g": 28,
"b": 121
},
"hsl": {
"h": 248.387,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.31457,
"c": 0.14827,
"h": 279.9
},
"luminance": 0.02682
}Semantic roles & 50–950 ramp
primary
#291C79
secondary
#9EAD44
accent
#E542CF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F