#29179E#29179E
#29179E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.198 H 275.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #29179E |
|---|---|
| RGB | rgb(41, 23, 158) |
| HSL | hsl(248, 75%, 35%) |
| HSV | hsv(248, 85%, 62%) |
| CMYK | cmyk(74.1%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(22.13, 49.05, -68.10) |
| CIE-LCH | lch(22.13, 83.93, 305.76°) |
| OKLab | oklab(35.08% 0.0175 -0.1968) |
| OKLCH | oklch(35.08% 0.198 275.1) |
| XYZ | xyz(7.3904, 3.5521, 32.6373) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.58
Royal
#0C1793
ΔE00 2.68
Royal Blue (survey)
#0504AA
ΔE00 2.97
Ultramarine
#2000B1
ΔE00 3.18
Indigo Blue
#3A18B1
ΔE00 3.25
Darkblue
#00008B
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29179E #8C9E17
analogous
#17489E #29179E #6C179E
triadic
#29179E #9E2917 #179E29
tetradic
#29179E #9E1748 #8C9E17 #179E6C
square
#29179E #9E1748 #8C9E17 #179E6C
split-complementary
#29179E #9E6C17 #489E17
monochromatic
#0D0733 #1B0F69 #29179E #371FD3 #5F4BE5
Accessibility & contrast
On white
12.28
#29179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#29179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29179E
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29179E | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #29179e; /* rgb */ color: rgb(41, 23, 158); /* oklch */ color: oklch(35.1% 0.198 275.1);
Tailwind
colors: {
custom: {
50: '#775abc',
500: '#29179e',
950: '#000000',
},
}SCSS
$custom: #29179e; $custom-light: #775abc; $custom-dark: #000000;
JSON
{
"hex": "#29179e",
"rgb": {
"r": 41,
"g": 23,
"b": 158
},
"hsl": {
"h": 248,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.3508,
"c": 0.19762,
"h": 275.1
},
"luminance": 0.03553
}Semantic roles & 50–950 ramp
primary
#29179E
secondary
#B6C64A
accent
#F137D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981