#291B89#291B89
#291B89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.169 H 277.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #291B89 |
|---|---|
| RGB | rgb(41, 27, 137) |
| HSL | hsl(248, 67%, 32%) |
| HSV | hsv(248, 80%, 54%) |
| CMYK | cmyk(70.1%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(20.29, 40.67, -58.16) |
| CIE-LCH | lch(20.29, 70.97, 304.97°) |
| OKLab | oklab(33.08% 0.022 -0.168) |
| OKLCH | oklch(33.08% 0.169 277.5) |
| XYZ | xyz(5.8203, 3.0609, 23.9462) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.55
Midnight Blue
#191970
ΔE00 4.32
Indigo (survey)
#380282
ΔE00 4.49
Darkblue
#00008B
ΔE00 4.84
Cobalt Blue
#030AA7
ΔE00 4.90
Navy
#000080
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B89 #7B891B
analogous
#1B4489 #291B89 #601B89
triadic
#291B89 #89291B #1B8929
tetradic
#291B89 #891B44 #7B891B #1B8960
square
#291B89 #891B44 #7B891B #1B8960
split-complementary
#291B89 #89601B #44891B
monochromatic
#0A0723 #1A1156 #291B89 #3825BC #5744DA
Accessibility & contrast
On white
13.03
#291B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#291B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B89
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B89 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #291b89; /* rgb */ color: rgb(41, 27, 137); /* oklch */ color: oklch(33.1% 0.169 277.5);
Tailwind
colors: {
custom: {
50: '#725aad',
500: '#291b89',
950: '#000000',
},
}SCSS
$custom: #291b89; $custom-light: #725aad; $custom-dark: #000000;
JSON
{
"hex": "#291b89",
"rgb": {
"r": 41,
"g": 27,
"b": 137
},
"hsl": {
"h": 247.636,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.33079,
"c": 0.16949,
"h": 277.5
},
"luminance": 0.03061
}Semantic roles & 50–950 ramp
primary
#291B89
secondary
#ACBC44
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F