#29178E#29178E
#29178E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.179 H 277.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #29178E |
|---|---|
| RGB | rgb(41, 23, 142) |
| HSL | hsl(249, 72%, 32%) |
| HSV | hsv(249, 84%, 56%) |
| CMYK | cmyk(71.1%, 83.8%, 0%, 44.3%) |
| CIE-LAB | lab(20.19, 44.21, -61.45) |
| CIE-LCH | lch(20.19, 75.70, 305.74°) |
| OKLab | oklab(33.18% 0.0224 -0.1775) |
| OKLCH | oklch(33.18% 0.179 277.2) |
| XYZ | xyz(6.1017, 3.0366, 25.8505) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.17
Cobalt Blue
#030AA7
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 4.01
Darkblue
#00008B
ΔE00 4.18
Royal Blue (survey)
#0504AA
ΔE00 4.39
Navy
#000080
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29178E #7C8E17
analogous
#17408E #29178E #65178E
triadic
#29178E #8E2917 #178E29
tetradic
#29178E #8E1740 #7C8E17 #178E65
square
#29178E #8E1740 #7C8E17 #178E65
split-complementary
#29178E #8E6517 #408E17
monochromatic
#0B0625 #1A0E59 #29178E #3820C3 #583FE0
Accessibility & contrast
On white
13.06
#29178E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#29178E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29178E
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29178E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29178E | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #29178e; /* rgb */ color: rgb(41, 23, 142); /* oklch */ color: oklch(33.2% 0.179 277.2);
Tailwind
colors: {
custom: {
50: '#7459b0',
500: '#29178e',
950: '#000000',
},
}SCSS
$custom: #29178e; $custom-light: #7459b0; $custom-dark: #000000;
JSON
{
"hex": "#29178e",
"rgb": {
"r": 41,
"g": 23,
"b": 142
},
"hsl": {
"h": 249.076,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.33183,
"c": 0.17895,
"h": 277.2
},
"luminance": 0.03037
}Semantic roles & 50–950 ramp
primary
#29178E
secondary
#ADC040
accent
#EF39D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980