#291B88#291B88
#291B88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.168 H 277.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #291B88 |
|---|---|
| RGB | rgb(41, 27, 136) |
| HSL | hsl(248, 67%, 32%) |
| HSV | hsv(248, 80%, 53%) |
| CMYK | cmyk(69.9%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(20.17, 40.35, -57.72) |
| CIE-LCH | lch(20.17, 70.43, 304.96°) |
| OKLab | oklab(32.97% 0.0223 -0.1668) |
| OKLCH | oklch(32.97% 0.168 277.6) |
| XYZ | xyz(5.7489, 3.0324, 23.5701) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.64
Midnight Blue
#191970
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 4.47
Darkblue
#00008B
ΔE00 4.86
Cobalt Blue
#030AA7
ΔE00 5.03
Navy
#000080
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B88 #7A881B
analogous
#1B4488 #291B88 #5F1B88
triadic
#291B88 #88291B #1B8829
tetradic
#291B88 #881B44 #7A881B #1B885F
square
#291B88 #881B44 #7A881B #1B885F
split-complementary
#291B88 #885F1B #44881B
monochromatic
#0A0722 #1A1155 #291B88 #3825BB #5744DA
Accessibility & contrast
On white
13.07
#291B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#291B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B88
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B88 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 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: #291b88; /* rgb */ color: rgb(41, 27, 136); /* oklch */ color: oklch(33.0% 0.168 277.6);
Tailwind
colors: {
custom: {
50: '#725aac',
500: '#291b88',
950: '#000000',
},
}SCSS
$custom: #291b88; $custom-light: #725aac; $custom-dark: #000000;
JSON
{
"hex": "#291b88",
"rgb": {
"r": 41,
"g": 27,
"b": 136
},
"hsl": {
"h": 247.706,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.32966,
"c": 0.16825,
"h": 277.6
},
"luminance": 0.03033
}Semantic roles & 50–950 ramp
primary
#291B88
secondary
#ACBB44
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F