#291D99#291D99
#291D99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.187 H 275.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #291D99 |
|---|---|
| RGB | rgb(41, 29, 153) |
| HSL | hsl(246, 68%, 36%) |
| HSV | hsv(246, 81%, 60%) |
| CMYK | cmyk(73.2%, 81%, 0%, 40%) |
| CIE-LAB | lab(22.48, 44.75, -64.47) |
| CIE-LCH | lch(22.48, 78.47, 304.76°) |
| OKLab | oklab(35.14% 0.0168 -0.1864) |
| OKLCH | oklch(35.14% 0.187 275.1) |
| XYZ | xyz(7.1017, 3.6494, 30.4609) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.48
Cobalt Blue
#030AA7
ΔE00 3.59
Indigo Blue
#3A18B1
ΔE00 3.90
Royal Blue (survey)
#0504AA
ΔE00 4.08
Ultramarine
#2000B1
ΔE00 4.41
Darkblue
#00008B
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291D99 #8D991D
analogous
#1D4F99 #291D99 #671D99
triadic
#291D99 #99291D #1D9929
tetradic
#291D99 #991D4F #8D991D #1D9967
square
#291D99 #991D4F #8D991D #1D9967
split-complementary
#291D99 #99671D #4F991D
monochromatic
#0D0932 #1B1366 #291D99 #3727CC #6052DE
Accessibility & contrast
On white
12.14
#291D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#291D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291D99
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291D99 | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #291d99; /* rgb */ color: rgb(41, 29, 153); /* oklch */ color: oklch(35.1% 0.187 275.1);
Tailwind
colors: {
custom: {
50: '#765db8',
500: '#291d99',
950: '#000000',
},
}SCSS
$custom: #291d99; $custom-light: #765db8; $custom-dark: #000000;
JSON
{
"hex": "#291d99",
"rgb": {
"r": 41,
"g": 29,
"b": 153
},
"hsl": {
"h": 245.806,
"s": 68.132,
"l": 35.686
},
"oklch": {
"l": 0.35145,
"c": 0.18716,
"h": 275.1
},
"luminance": 0.0365
}Semantic roles & 50–950 ramp
primary
#291D99
secondary
#B6C151
accent
#EB3DDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981