#291D88#291D88
#291D88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.166 H 277.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #291D88 |
|---|---|
| RGB | rgb(41, 29, 136) |
| HSL | hsl(247, 65%, 32%) |
| HSV | hsv(247, 79%, 53%) |
| CMYK | cmyk(69.9%, 78.7%, 0%, 46.7%) |
| CIE-LAB | lab(20.55, 39.28, -57.10) |
| CIE-LCH | lch(20.55, 69.31, 304.52°) |
| OKLab | oklab(33.23% 0.0212 -0.165) |
| OKLCH | oklch(33.23% 0.166 277.3) |
| XYZ | xyz(5.7963, 3.1272, 23.5859) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.78
Midnight Blue
#191970
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.88
Darkblue
#00008B
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 5.25
Navy
#000080
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291D88 #7C881D
analogous
#1D4788 #291D88 #5F1D88
triadic
#291D88 #88291D #1D8829
tetradic
#291D88 #881D47 #7C881D #1D885F
square
#291D88 #881D47 #7C881D #1D885F
split-complementary
#291D88 #885F1D #47881D
monochromatic
#0B0723 #1A1256 #291D88 #3828BA #5848D8
Accessibility & contrast
On white
12.92
#291D88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#291D88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291D88
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291D88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291D88 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #291d88; /* rgb */ color: rgb(41, 29, 136); /* oklch */ color: oklch(33.2% 0.166 277.3);
Tailwind
colors: {
custom: {
50: '#725cac',
500: '#291d88',
950: '#000000',
},
}SCSS
$custom: #291d88; $custom-light: #725cac; $custom-dark: #000000;
JSON
{
"hex": "#291d88",
"rgb": {
"r": 41,
"g": 29,
"b": 136
},
"hsl": {
"h": 246.729,
"s": 64.848,
"l": 32.353
},
"oklch": {
"l": 0.33228,
"c": 0.16636,
"h": 277.3
},
"luminance": 0.03128
}Semantic roles & 50–950 ramp
primary
#291D88
secondary
#ADBA47
accent
#E840D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F