#291E83#291E83
#291E83 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.159 H 277.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #291E83 |
|---|---|
| RGB | rgb(41, 30, 131) |
| HSL | hsl(247, 63%, 32%) |
| HSV | hsv(247, 77%, 51%) |
| CMYK | cmyk(68.7%, 77.1%, 0%, 48.6%) |
| CIE-LAB | lab(20.20, 37.07, -54.53) |
| CIE-LCH | lch(20.20, 65.94, 304.21°) |
| OKLab | oklab(32.82% 0.0219 -0.1575) |
| OKLCH | oklch(32.82% 0.159 277.9) |
| XYZ | xyz(5.4741, 3.0382, 21.7663) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.39
Midnight Blue
#191970
ΔE00 3.50
Indigo (survey)
#380282
ΔE00 5.12
Darkblue
#00008B
ΔE00 5.65
Navy
#000080
ΔE00 5.87
Cobalt Blue
#030AA7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E83 #78831E
analogous
#1E4683 #291E83 #5C1E83
triadic
#291E83 #83291E #1E8329
tetradic
#291E83 #831E46 #78831E #1E835C
square
#291E83 #831E46 #78831E #1E835C
split-complementary
#291E83 #835C1E #46831E
monochromatic
#0A071F #191351 #291E83 #3929B5 #5647D5
Accessibility & contrast
On white
13.06
#291E83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#291E83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E83
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E83 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #291e83; /* rgb */ color: rgb(41, 30, 131); /* oklch */ color: oklch(32.8% 0.159 277.9);
Tailwind
colors: {
custom: {
50: '#705ca8',
500: '#291e83',
950: '#000000',
},
}SCSS
$custom: #291e83; $custom-light: #705ca8; $custom-dark: #000000;
JSON
{
"hex": "#291e83",
"rgb": {
"r": 41,
"g": 30,
"b": 131
},
"hsl": {
"h": 246.535,
"s": 62.733,
"l": 31.569
},
"oklch": {
"l": 0.32819,
"c": 0.15903,
"h": 277.9
},
"luminance": 0.03039
}Semantic roles & 50–950 ramp
primary
#291E83
secondary
#AAB647
accent
#E642D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F