#291F99#291F99
#291F99 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.185 H 274.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #291F99 |
|---|---|
| RGB | rgb(41, 31, 153) |
| HSL | hsl(245, 66%, 36%) |
| HSV | hsv(245, 80%, 60%) |
| CMYK | cmyk(73.2%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(22.83, 43.73, -63.88) |
| CIE-LCH | lch(22.83, 77.41, 304.39°) |
| OKLab | oklab(35.39% 0.0159 -0.1847) |
| OKLCH | oklch(35.39% 0.185 274.9) |
| XYZ | xyz(7.1523, 3.7506, 30.4778) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.67
Cobalt Blue
#030AA7
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 4.01
Royal Blue (survey)
#0504AA
ΔE00 4.41
Ultramarine
#2000B1
ΔE00 4.72
Darkblue
#00008B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291F99 #8F991F
analogous
#1F5299 #291F99 #661F99
triadic
#291F99 #99291F #1F9929
tetradic
#291F99 #991F52 #8F991F #1F9966
square
#291F99 #991F52 #8F991F #1F9966
split-complementary
#291F99 #99661F #52991F
monochromatic
#0E0A33 #1B1566 #291F99 #3729CC #6156DD
Accessibility & contrast
On white
12.00
#291F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#291F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291F99
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291F99 | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #291f99; /* rgb */ color: rgb(41, 31, 153); /* oklch */ color: oklch(35.4% 0.185 274.9);
Tailwind
colors: {
custom: {
50: '#765eb8',
500: '#291f99',
950: '#000000',
},
}SCSS
$custom: #291f99; $custom-light: #765eb8; $custom-dark: #000000;
JSON
{
"hex": "#291f99",
"rgb": {
"r": 41,
"g": 31,
"b": 153
},
"hsl": {
"h": 244.918,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.35391,
"c": 0.18543,
"h": 274.9
},
"luminance": 0.03751
}Semantic roles & 50–950 ramp
primary
#291F99
secondary
#B7C054
accent
#E93FDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981