#291C80#291C80
#291C80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.157 H 278.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #291C80 |
|---|---|
| RGB | rgb(41, 28, 128) |
| HSL | hsl(248, 64%, 31%) |
| HSV | hsv(248, 78%, 50%) |
| CMYK | cmyk(68%, 78.1%, 0%, 49.8%) |
| CIE-LAB | lab(19.47, 37.21, -53.83) |
| CIE-LCH | lch(19.47, 65.44, 304.65°) |
| OKLab | oklab(32.21% 0.0239 -0.1554) |
| OKLCH | oklch(32.21% 0.157 278.7) |
| XYZ | xyz(5.2247, 2.8600, 20.6946) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.12
Royal
#0C1793
ΔE00 3.60
Indigo (survey)
#380282
ΔE00 4.74
Darkblue
#00008B
ΔE00 5.41
Navy
#000080
ΔE00 5.50
Dark Royal Blue
#02066F
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C80 #73801C
analogous
#1C4180 #291C80 #5B1C80
triadic
#291C80 #80291C #1C8029
tetradic
#291C80 #801C41 #73801C #1C805B
square
#291C80 #801C41 #73801C #1C805B
split-complementary
#291C80 #805B1C #41801C
monochromatic
#09061C #19114E #291C80 #3927B2 #5441D5
Accessibility & contrast
On white
13.36
#291C80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#291C80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C80
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C80 | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291c80; /* rgb */ color: rgb(41, 28, 128); /* oklch */ color: oklch(32.2% 0.157 278.7);
Tailwind
colors: {
custom: {
50: '#705aa6',
500: '#291c80',
950: '#000000',
},
}SCSS
$custom: #291c80; $custom-light: #705aa6; $custom-dark: #000000;
JSON
{
"hex": "#291c80",
"rgb": {
"r": 41,
"g": 28,
"b": 128
},
"hsl": {
"h": 247.8,
"s": 64.103,
"l": 30.588
},
"oklch": {
"l": 0.32213,
"c": 0.15726,
"h": 278.7
},
"luminance": 0.0286
}Semantic roles & 50–950 ramp
primary
#291C80
secondary
#A5B344
accent
#E741D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F