#291A9A#291A9A
#291A9A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.191 H 275.3°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #291A9A |
|---|---|
| RGB | rgb(41, 26, 154) |
| HSL | hsl(247, 71%, 35%) |
| HSV | hsv(247, 83%, 60%) |
| CMYK | cmyk(73.4%, 83.1%, 0%, 39.6%) |
| CIE-LAB | lab(22.10, 46.51, -65.71) |
| CIE-LCH | lch(22.10, 80.50, 305.29°) |
| OKLab | oklab(34.92% 0.0177 -0.19) |
| OKLCH | oklch(34.92% 0.191 275.3) |
| XYZ | xyz(7.1147, 3.5426, 30.8744) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.39
Cobalt Blue
#030AA7
ΔE00 3.12
Royal Blue (survey)
#0504AA
ΔE00 3.58
Indigo Blue
#3A18B1
ΔE00 3.71
Ultramarine
#2000B1
ΔE00 3.91
Darkblue
#00008B
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A9A #8B9A1A
analogous
#1A4B9A #291A9A #691A9A
triadic
#291A9A #9A291A #1A9A29
tetradic
#291A9A #9A1A4B #8B9A1A #1A9A69
square
#291A9A #9A1A4B #8B9A1A #1A9A69
split-complementary
#291A9A #9A691A #4B9A1A
monochromatic
#0D0831 #1B1166 #291A9A #3723CE #5F4DE1
Accessibility & contrast
On white
12.29
#291A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#291A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A9A
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A9A | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #291a9a; /* rgb */ color: rgb(41, 26, 154); /* oklch */ color: oklch(34.9% 0.191 275.3);
Tailwind
colors: {
custom: {
50: '#765bb9',
500: '#291a9a',
950: '#000000',
},
}SCSS
$custom: #291a9a; $custom-light: #765bb9; $custom-dark: #000000;
JSON
{
"hex": "#291a9a",
"rgb": {
"r": 41,
"g": 26,
"b": 154
},
"hsl": {
"h": 247.031,
"s": 71.111,
"l": 35.294
},
"oklch": {
"l": 0.34916,
"c": 0.19078,
"h": 275.3
},
"luminance": 0.03543
}Semantic roles & 50–950 ramp
primary
#291A9A
secondary
#B5C34D
accent
#EE3AD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981