#29178C#29178C
#29178C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.177 H 277.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #29178C |
|---|---|
| RGB | rgb(41, 23, 140) |
| HSL | hsl(249, 72%, 32%) |
| HSV | hsv(249, 84%, 55%) |
| CMYK | cmyk(70.7%, 83.6%, 0%, 45.1%) |
| CIE-LAB | lab(19.95, 43.60, -60.59) |
| CIE-LCH | lch(19.95, 74.65, 305.74°) |
| OKLab | oklab(32.95% 0.023 -0.1751) |
| OKLCH | oklch(32.95% 0.177 277.5) |
| XYZ | xyz(5.9529, 2.9771, 25.0668) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.27
Indigo (survey)
#380282
ΔE00 3.91
Darkblue
#00008B
ΔE00 4.16
Cobalt Blue
#030AA7
ΔE00 4.19
Royal Blue (survey)
#0504AA
ΔE00 4.63
Navy
#000080
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29178C #7A8C17
analogous
#17408C #29178C #64178C
triadic
#29178C #8C2917 #178C29
tetradic
#29178C #8C1740 #7A8C17 #178C64
square
#29178C #8C1740 #7A8C17 #178C64
split-complementary
#29178C #8C6417 #408C17
monochromatic
#0A0623 #1A0E57 #29178C #3820C1 #573EDF
Accessibility & contrast
On white
13.16
#29178C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#29178C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29178C
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29178C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29178C | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #29178c; /* rgb */ color: rgb(41, 23, 140); /* oklch */ color: oklch(32.9% 0.177 277.5);
Tailwind
colors: {
custom: {
50: '#7359af',
500: '#29178c',
950: '#000000',
},
}SCSS
$custom: #29178c; $custom-light: #7359af; $custom-dark: #000000;
JSON
{
"hex": "#29178c",
"rgb": {
"r": 41,
"g": 23,
"b": 140
},
"hsl": {
"h": 249.231,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.32949,
"c": 0.17657,
"h": 277.5
},
"luminance": 0.02978
}Semantic roles & 50–950 ramp
primary
#29178C
secondary
#ACBF3F
accent
#EF39D3
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980