#29217E#29217E
#29217E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.149 H 278.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #29217E |
|---|---|
| RGB | rgb(41, 33, 126) |
| HSL | hsl(245, 58%, 31%) |
| HSV | hsv(245, 74%, 49%) |
| CMYK | cmyk(67.5%, 73.8%, 0%, 50.6%) |
| CIE-LAB | lab(20.30, 33.61, -51.20) |
| CIE-LCH | lch(20.30, 61.24, 303.29°) |
| OKLab | oklab(32.74% 0.0209 -0.1478) |
| OKLCH | oklch(32.74% 0.149 278.1) |
| XYZ | xyz(5.2230, 3.0651, 20.0510) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.09
Royal
#0C1793
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 6.02
Dark Royal Blue
#02066F
ΔE00 6.41
Darkblue
#00008B
ΔE00 6.64
Navy
#000080
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29217E #767E21
analogous
#21477E #29217E #57217E
triadic
#29217E #7E2921 #217E29
tetradic
#29217E #7E2147 #767E21 #217E57
square
#29217E #7E2147 #767E21 #217E57
split-complementary
#29217E #7E5721 #477E21
monochromatic
#09081D #19144E #29217E #392EAE #554AD0
Accessibility & contrast
On white
13.02
#29217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#29217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29217E
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29217E | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #29217e; /* rgb */ color: rgb(41, 33, 126); /* oklch */ color: oklch(32.7% 0.149 278.1);
Tailwind
colors: {
custom: {
50: '#6f5da4',
500: '#29217e',
950: '#000000',
},
}SCSS
$custom: #29217e; $custom-light: #6f5da4; $custom-dark: #000000;
JSON
{
"hex": "#29217e",
"rgb": {
"r": 41,
"g": 33,
"b": 126
},
"hsl": {
"h": 245.161,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.32737,
"c": 0.14927,
"h": 278.1
},
"luminance": 0.03065
}Semantic roles & 50–950 ramp
primary
#29217E
secondary
#A8B14A
accent
#E246D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F