#291E99#291E99
#291E99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.186 H 275.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #291E99 |
|---|---|
| RGB | rgb(41, 30, 153) |
| HSL | hsl(245, 67%, 36%) |
| HSV | hsv(245, 80%, 60%) |
| CMYK | cmyk(73.2%, 80.4%, 0%, 40%) |
| CIE-LAB | lab(22.65, 44.24, -64.18) |
| CIE-LCH | lch(22.65, 77.95, 304.58°) |
| OKLab | oklab(35.27% 0.0164 -0.1856) |
| OKLCH | oklch(35.27% 0.186 275) |
| XYZ | xyz(7.1266, 3.6992, 30.4692) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.56
Cobalt Blue
#030AA7
ΔE00 3.74
Indigo Blue
#3A18B1
ΔE00 3.95
Royal Blue (survey)
#0504AA
ΔE00 4.24
Ultramarine
#2000B1
ΔE00 4.56
Darkblue
#00008B
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E99 #8E991E
analogous
#1E5099 #291E99 #661E99
triadic
#291E99 #99291E #1E9929
tetradic
#291E99 #991E50 #8E991E #1E9966
square
#291E99 #991E50 #8E991E #1E9966
split-complementary
#291E99 #99661E #50991E
monochromatic
#0E0A33 #1B1466 #291E99 #3728CC #6054DD
Accessibility & contrast
On white
12.07
#291E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#291E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E99
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E99 | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #291e99; /* rgb */ color: rgb(41, 30, 153); /* oklch */ color: oklch(35.3% 0.186 275.0);
Tailwind
colors: {
custom: {
50: '#765db8',
500: '#291e99',
950: '#000000',
},
}SCSS
$custom: #291e99; $custom-light: #765db8; $custom-dark: #000000;
JSON
{
"hex": "#291e99",
"rgb": {
"r": 41,
"g": 30,
"b": 153
},
"hsl": {
"h": 245.366,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.35266,
"c": 0.1863,
"h": 275
},
"luminance": 0.037
}Semantic roles & 50–950 ramp
primary
#291E99
secondary
#B7C152
accent
#EA3EDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981