#291E9E#291E9E
#291E9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.192 H 274.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #291E9E |
|---|---|
| RGB | rgb(41, 30, 158) |
| HSL | hsl(245, 68%, 37%) |
| HSV | hsv(245, 81%, 62%) |
| CMYK | cmyk(74.1%, 81%, 0%, 38%) |
| CIE-LAB | lab(23.23, 45.82, -66.28) |
| CIE-LCH | lch(23.23, 80.58, 304.66°) |
| OKLab | oklab(35.84% 0.0151 -0.1917) |
| OKLCH | oklch(35.84% 0.192 274.5) |
| XYZ | xyz(7.5482, 3.8678, 32.6899) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.92
Indigo Blue
#3A18B1
ΔE00 3.35
Cobalt Blue
#030AA7
ΔE00 3.50
Royal Blue (survey)
#0504AA
ΔE00 3.97
Ultramarine
#2000B1
ΔE00 4.13
True Blue
#010FCC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E9E #939E1E
analogous
#1E539E #291E9E #691E9E
triadic
#291E9E #9E291E #1E9E29
tetradic
#291E9E #9E1E53 #939E1E #1E9E69
square
#291E9E #9E1E53 #939E1E #1E9E69
split-complementary
#291E9E #9E691E #539E1E
monochromatic
#0E0A37 #1C146B #291E9E #3628D1 #6357DF
Accessibility & contrast
On white
11.84
#291E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#291E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E9E
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E9E | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #291e9e; /* rgb */ color: rgb(41, 30, 158); /* oklch */ color: oklch(35.8% 0.192 274.5);
Tailwind
colors: {
custom: {
50: '#775ebc',
500: '#291e9e',
950: '#000000',
},
}SCSS
$custom: #291e9e; $custom-light: #775ebc; $custom-dark: #000000;
JSON
{
"hex": "#291e9e",
"rgb": {
"r": 41,
"g": 30,
"b": 158
},
"hsl": {
"h": 245.156,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.35838,
"c": 0.19229,
"h": 274.5
},
"luminance": 0.03869
}Semantic roles & 50–950 ramp
primary
#291E9E
secondary
#B9C355
accent
#EB3DDC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981