#291E80#291E80
#291E80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.155 H 278.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #291E80 |
|---|---|
| RGB | rgb(41, 30, 128) |
| HSL | hsl(247, 62%, 31%) |
| HSV | hsv(247, 77%, 50%) |
| CMYK | cmyk(68%, 76.6%, 0%, 49.8%) |
| CIE-LAB | lab(19.87, 36.07, -53.17) |
| CIE-LCH | lch(19.87, 64.25, 304.16°) |
| OKLab | oklab(32.5% 0.0226 -0.1535) |
| OKLCH | oklch(32.5% 0.155 278.4) |
| XYZ | xyz(5.2738, 2.9580, 20.7109) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.13
Royal
#0C1793
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 5.19
Darkblue
#00008B
ΔE00 5.82
Dark Royal Blue
#02066F
ΔE00 5.88
Navy
#000080
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E80 #75801E
analogous
#1E4480 #291E80 #5A1E80
triadic
#291E80 #80291E #1E8029
tetradic
#291E80 #801E44 #75801E #1E805A
square
#291E80 #801E44 #75801E #1E805A
split-complementary
#291E80 #805A1E #44801E
monochromatic
#09071D #19124E #291E80 #392AB2 #5545D3
Accessibility & contrast
On white
13.19
#291E80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#291E80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E80
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E80 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #291e80; /* rgb */ color: rgb(41, 30, 128); /* oklch */ color: oklch(32.5% 0.155 278.4);
Tailwind
colors: {
custom: {
50: '#705ca6',
500: '#291e80',
950: '#000000',
},
}SCSS
$custom: #291e80; $custom-light: #705ca6; $custom-dark: #000000;
JSON
{
"hex": "#291e80",
"rgb": {
"r": 41,
"g": 30,
"b": 128
},
"hsl": {
"h": 246.735,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.32496,
"c": 0.15518,
"h": 278.4
},
"luminance": 0.02958
}Semantic roles & 50–950 ramp
primary
#291E80
secondary
#A7B347
accent
#E543D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F