#291C88#291C88
#291C88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.167 H 277.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #291C88 |
|---|---|
| RGB | rgb(41, 28, 136) |
| HSL | hsl(247, 66%, 32%) |
| HSV | hsv(247, 79%, 53%) |
| CMYK | cmyk(69.9%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(20.36, 39.82, -57.42) |
| CIE-LCH | lch(20.36, 69.87, 304.74°) |
| OKLab | oklab(33.1% 0.0218 -0.1659) |
| OKLCH | oklch(33.1% 0.167 277.5) |
| XYZ | xyz(5.7722, 3.0790, 23.5779) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Midnight Blue
#191970
ΔE00 4.17
Indigo (survey)
#380282
ΔE00 4.67
Darkblue
#00008B
ΔE00 5.05
Cobalt Blue
#030AA7
ΔE00 5.13
Navy
#000080
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C88 #7B881C
analogous
#1C4588 #291C88 #5F1C88
triadic
#291C88 #88291C #1C8829
tetradic
#291C88 #881C45 #7B881C #1C885F
square
#291C88 #881C45 #7B881C #1C885F
split-complementary
#291C88 #885F1C #45881C
monochromatic
#0A0722 #1A1255 #291C88 #3826BB #5746D9
Accessibility & contrast
On white
13.00
#291C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#291C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C88
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C88 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #291c88; /* rgb */ color: rgb(41, 28, 136); /* oklch */ color: oklch(33.1% 0.167 277.5);
Tailwind
colors: {
custom: {
50: '#725bac',
500: '#291c88',
950: '#000000',
},
}SCSS
$custom: #291c88; $custom-light: #725bac; $custom-dark: #000000;
JSON
{
"hex": "#291c88",
"rgb": {
"r": 41,
"g": 28,
"b": 136
},
"hsl": {
"h": 247.222,
"s": 65.854,
"l": 32.157
},
"oklch": {
"l": 0.33096,
"c": 0.16731,
"h": 277.5
},
"luminance": 0.03079
}Semantic roles & 50–950 ramp
primary
#291C88
secondary
#ACBA45
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F