#291BAA#291BAA
#291BAA is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.209 H 273.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #291BAA |
|---|---|
| RGB | rgb(41, 27, 170) |
| HSL | hsl(246, 73%, 39%) |
| HSV | hsv(246, 84%, 67%) |
| CMYK | cmyk(75.9%, 84.1%, 0%, 33.3%) |
| CIE-LAB | lab(24.18, 50.92, -71.99) |
| CIE-LCH | lch(24.18, 88.18, 305.27°) |
| OKLab | oklab(36.91% 0.0128 -0.2082) |
| OKLCH | oklch(36.91% 0.209 273.5) |
| XYZ | xyz(8.5597, 4.1567, 38.3736) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.03
Ultramarine
#2000B1
ΔE00 3.04
Cobalt Blue
#030AA7
ΔE00 3.11
Royal Blue (survey)
#0504AA
ΔE00 3.38
Royal
#0C1793
ΔE00 4.01
True Blue
#010FCC
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291BAA #9CAA1B
analogous
#1B54AA #291BAA #701BAA
triadic
#291BAA #AA291B #1BAA29
tetradic
#291BAA #AA1B54 #9CAA1B #1BAA70
square
#291BAA #AA1B54 #9CAA1B #1BAA70
split-complementary
#291BAA #AA701B #54AA1B
monochromatic
#100A40 #1C1375 #291BAA #3826DC #685BE5
Accessibility & contrast
On white
11.47
#291BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#291BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291BAA
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291BAA | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #291baa; /* rgb */ color: rgb(41, 27, 170); /* oklch */ color: oklch(36.9% 0.209 273.5);
Tailwind
colors: {
custom: {
50: '#7a5dc5',
500: '#291baa',
950: '#000000',
},
}SCSS
$custom: #291baa; $custom-light: #7a5dc5; $custom-dark: #000000;
JSON
{
"hex": "#291baa",
"rgb": {
"r": 41,
"g": 27,
"b": 170
},
"hsl": {
"h": 245.874,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.36912,
"c": 0.20858,
"h": 273.5
},
"luminance": 0.04158
}Semantic roles & 50–950 ramp
primary
#291BAA
secondary
#BEC958
accent
#EF39DD
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982