#291B99#291B99
#291B99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.189 H 275.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #291B99 |
|---|---|
| RGB | rgb(41, 27, 153) |
| HSL | hsl(247, 70%, 35%) |
| HSV | hsv(247, 82%, 60%) |
| CMYK | cmyk(73.2%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(22.14, 45.73, -65.02) |
| CIE-LCH | lch(22.14, 79.49, 305.12°) |
| OKLab | oklab(34.91% 0.0176 -0.188) |
| OKLCH | oklch(34.91% 0.189 275.3) |
| XYZ | xyz(7.0543, 3.5545, 30.4451) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.36
Cobalt Blue
#030AA7
ΔE00 3.31
Royal Blue (survey)
#0504AA
ΔE00 3.79
Indigo Blue
#3A18B1
ΔE00 3.85
Ultramarine
#2000B1
ΔE00 4.13
Darkblue
#00008B
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B99 #8B991B
analogous
#1B4C99 #291B99 #681B99
triadic
#291B99 #99291B #1B9929
tetradic
#291B99 #991B4C #8B991B #1B9968
square
#291B99 #991B4C #8B991B #1B9968
split-complementary
#291B99 #99681B #4C991B
monochromatic
#0D0931 #1B1265 #291B99 #3724CD #5F4FE0
Accessibility & contrast
On white
12.27
#291B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#291B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B99
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B99 | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #291b99; /* rgb */ color: rgb(41, 27, 153); /* oklch */ color: oklch(34.9% 0.189 275.3);
Tailwind
colors: {
custom: {
50: '#765cb8',
500: '#291b99',
950: '#000000',
},
}SCSS
$custom: #291b99; $custom-light: #765cb8; $custom-dark: #000000;
JSON
{
"hex": "#291b99",
"rgb": {
"r": 41,
"g": 27,
"b": 153
},
"hsl": {
"h": 246.667,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.34911,
"c": 0.18881,
"h": 275.3
},
"luminance": 0.03555
}Semantic roles & 50–950 ramp
primary
#291B99
secondary
#B5C24E
accent
#ED3BD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981