#29179F#29179F
#29179F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.199 H 274.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #29179F |
|---|---|
| RGB | rgb(41, 23, 159) |
| HSL | hsl(248, 75%, 36%) |
| HSV | hsv(248, 86%, 62%) |
| CMYK | cmyk(74.2%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(22.26, 49.34, -68.51) |
| CIE-LCH | lch(22.26, 84.43, 305.76°) |
| OKLab | oklab(35.2% 0.0172 -0.198) |
| OKLCH | oklch(35.2% 0.199 274.9) |
| XYZ | xyz(7.4768, 3.5867, 33.0924) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.54
Royal
#0C1793
ΔE00 2.77
Royal Blue (survey)
#0504AA
ΔE00 2.92
Ultramarine
#2000B1
ΔE00 3.09
Indigo Blue
#3A18B1
ΔE00 3.13
Darkblue
#00008B
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29179F #8D9F17
analogous
#17499F #29179F #6D179F
triadic
#29179F #9F2917 #179F29
tetradic
#29179F #9F1749 #8D9F17 #179F6D
square
#29179F #9F1749 #8D9F17 #179F6D
split-complementary
#29179F #9F6D17 #499F17
monochromatic
#0D0834 #1B0F6A #29179F #371FD4 #604BE5
Accessibility & contrast
On white
12.23
#29179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#29179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29179F
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29179F | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #29179f; /* rgb */ color: rgb(41, 23, 159); /* oklch */ color: oklch(35.2% 0.199 274.9);
Tailwind
colors: {
custom: {
50: '#785abd',
500: '#29179f',
950: '#000000',
},
}SCSS
$custom: #29179f; $custom-light: #785abd; $custom-dark: #000000;
JSON
{
"hex": "#29179f",
"rgb": {
"r": 41,
"g": 23,
"b": 159
},
"hsl": {
"h": 247.941,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.352,
"c": 0.19877,
"h": 274.9
},
"luminance": 0.03587
}Semantic roles & 50–950 ramp
primary
#29179F
secondary
#B6C74B
accent
#F136D9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981