#291E96#291E96
#291E96 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.183 H 275.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #291E96 |
|---|---|
| RGB | rgb(41, 30, 150) |
| HSL | hsl(246, 67%, 35%) |
| HSV | hsv(246, 80%, 59%) |
| CMYK | cmyk(72.7%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(22.31, 43.28, -62.90) |
| CIE-LCH | lch(22.31, 76.35, 304.53°) |
| OKLab | oklab(34.92% 0.0171 -0.1819) |
| OKLCH | oklch(34.92% 0.183 275.4) |
| XYZ | xyz(6.8819, 3.6013, 29.1807) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.43
Cobalt Blue
#030AA7
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.33
Royal Blue (survey)
#0504AA
ΔE00 4.46
Ultramarine
#2000B1
ΔE00 4.85
Darkblue
#00008B
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E96 #8B961E
analogous
#1E4F96 #291E96 #651E96
triadic
#291E96 #96291E #1E9629
tetradic
#291E96 #961E4F #8B961E #1E9665
square
#291E96 #961E4F #8B961E #1E9665
split-complementary
#291E96 #96651E #4F961E
monochromatic
#0D0A30 #1B1463 #291E96 #3728C9 #5F52DC
Accessibility & contrast
On white
12.21
#291E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#291E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E96
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E96 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #291e96; /* rgb */ color: rgb(41, 30, 150); /* oklch */ color: oklch(34.9% 0.183 275.4);
Tailwind
colors: {
custom: {
50: '#755db6',
500: '#291e96',
950: '#000000',
},
}SCSS
$custom: #291e96; $custom-light: #755db6; $custom-dark: #000000;
JSON
{
"hex": "#291e96",
"rgb": {
"r": 41,
"g": 30,
"b": 150
},
"hsl": {
"h": 245.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.34925,
"c": 0.18268,
"h": 275.4
},
"luminance": 0.03602
}Semantic roles & 50–950 ramp
primary
#291E96
secondary
#B5BF50
accent
#EA3EDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980