#291B83#291B83
#291B83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.162 H 278.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #291B83 |
|---|---|
| RGB | rgb(41, 27, 131) |
| HSL | hsl(248, 66%, 31%) |
| HSV | hsv(248, 79%, 51%) |
| CMYK | cmyk(68.7%, 79.4%, 0%, 48.6%) |
| CIE-LAB | lab(19.61, 38.74, -55.50) |
| CIE-LCH | lch(19.61, 67.68, 304.91°) |
| OKLab | oklab(32.41% 0.0237 -0.1603) |
| OKLCH | oklch(32.41% 0.162 278.4) |
| XYZ | xyz(5.4018, 2.8935, 21.7422) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.17
Midnight Blue
#191970
ΔE00 3.53
Indigo (survey)
#380282
ΔE00 4.46
Darkblue
#00008B
ΔE00 5.04
Navy
#000080
ΔE00 5.27
Dark Royal Blue
#02066F
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B83 #75831B
analogous
#1B4183 #291B83 #5D1B83
triadic
#291B83 #83291B #1B8329
tetradic
#291B83 #831B41 #75831B #1B835D
square
#291B83 #831B41 #75831B #1B835D
split-complementary
#291B83 #835D1B #41831B
monochromatic
#09061E #191150 #291B83 #3925B6 #5541D8
Accessibility & contrast
On white
13.30
#291B83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#291B83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B83
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B83 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291b83; /* rgb */ color: rgb(41, 27, 131); /* oklch */ color: oklch(32.4% 0.162 278.4);
Tailwind
colors: {
custom: {
50: '#715aa8',
500: '#291b83',
950: '#000000',
},
}SCSS
$custom: #291b83; $custom-light: #715aa8; $custom-dark: #000000;
JSON
{
"hex": "#291b83",
"rgb": {
"r": 41,
"g": 27,
"b": 131
},
"hsl": {
"h": 248.077,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.32408,
"c": 0.16204,
"h": 278.4
},
"luminance": 0.02894
}Semantic roles & 50–950 ramp
primary
#291B83
secondary
#A7B643
accent
#E93FD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F