#291B81#291B81
#291B81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.160 H 278.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #291B81 |
|---|---|
| RGB | rgb(41, 27, 129) |
| HSL | hsl(248, 65%, 31%) |
| HSV | hsv(248, 79%, 51%) |
| CMYK | cmyk(68.2%, 79.1%, 0%, 49.4%) |
| CIE-LAB | lab(19.39, 38.09, -54.60) |
| CIE-LCH | lch(19.39, 66.57, 304.90°) |
| OKLab | oklab(32.19% 0.0242 -0.1577) |
| OKLCH | oklch(32.19% 0.16 278.7) |
| XYZ | xyz(5.2676, 2.8398, 21.0352) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.27
Royal
#0C1793
ΔE00 3.41
Indigo (survey)
#380282
ΔE00 4.49
Darkblue
#00008B
ΔE00 5.15
Navy
#000080
ΔE00 5.29
Dark Royal Blue
#02066F
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B81 #73811B
analogous
#1B4081 #291B81 #5C1B81
triadic
#291B81 #81291B #1B8129
tetradic
#291B81 #811B40 #73811B #1B815C
square
#291B81 #811B40 #73811B #1B815C
split-complementary
#291B81 #815C1B #40811B
monochromatic
#09061C #19104E #291B81 #3926B4 #543FD7
Accessibility & contrast
On white
13.39
#291B81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#291B81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B81
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B81 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291b81; /* rgb */ color: rgb(41, 27, 129); /* oklch */ color: oklch(32.2% 0.160 278.7);
Tailwind
colors: {
custom: {
50: '#705aa7',
500: '#291b81',
950: '#000000',
},
}SCSS
$custom: #291b81; $custom-light: #705aa7; $custom-dark: #000000;
JSON
{
"hex": "#291b81",
"rgb": {
"r": 41,
"g": 27,
"b": 129
},
"hsl": {
"h": 248.235,
"s": 65.385,
"l": 30.588
},
"oklch": {
"l": 0.32187,
"c": 0.15953,
"h": 278.7
},
"luminance": 0.0284
}Semantic roles & 50–950 ramp
primary
#291B81
secondary
#A5B543
accent
#E83FD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F