#291D7C#291D7C
#291D7C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.151 H 279.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #291D7C |
|---|---|
| RGB | rgb(41, 29, 124) |
| HSL | hsl(248, 62%, 30%) |
| HSV | hsv(248, 77%, 49%) |
| CMYK | cmyk(66.9%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(19.25, 35.31, -51.66) |
| CIE-LCH | lch(19.25, 62.58, 304.35°) |
| OKLab | oklab(31.92% 0.0242 -0.1491) |
| OKLCH | oklch(31.92% 0.151 279.2) |
| XYZ | xyz(4.9907, 2.8050, 19.3433) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Royal
#0C1793
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 5.13
Dark Royal Blue
#02066F
ΔE00 5.55
Deep Blue
#040273
ΔE00 5.85
Navy
#000080
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291D7C #707C1D
analogous
#1D407C #291D7C #591D7C
triadic
#291D7C #7C291D #1D7C29
tetradic
#291D7C #7C1D40 #707C1D #1D7C59
square
#291D7C #7C1D40 #707C1D #1D7C59
split-complementary
#291D7C #7C591D #407C1D
monochromatic
#080619 #19114A #291D7C #3929AE #5341D3
Accessibility & contrast
On white
13.45
#291D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291D7C
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291D7C | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291d7c; /* rgb */ color: rgb(41, 29, 124); /* oklch */ color: oklch(31.9% 0.151 279.2);
Tailwind
colors: {
custom: {
50: '#6f5ba3',
500: '#291d7c',
950: '#000000',
},
}SCSS
$custom: #291d7c; $custom-light: #6f5ba3; $custom-dark: #000000;
JSON
{
"hex": "#291d7c",
"rgb": {
"r": 41,
"g": 29,
"b": 124
},
"hsl": {
"h": 247.579,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.31923,
"c": 0.15109,
"h": 279.2
},
"luminance": 0.02805
}Semantic roles & 50–950 ramp
primary
#291D7C
secondary
#A2B045
accent
#E543D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F