#29168F#29168F
#29168F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.181 H 277.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #29168F |
|---|---|
| RGB | rgb(41, 22, 143) |
| HSL | hsl(249, 73%, 32%) |
| HSV | hsv(249, 85%, 56%) |
| CMYK | cmyk(71.3%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(20.15, 44.98, -62.13) |
| CIE-LCH | lch(20.15, 76.70, 305.90°) |
| OKLab | oklab(33.19% 0.0225 -0.1795) |
| OKLCH | oklch(33.19% 0.181 277.1) |
| XYZ | xyz(6.1577, 3.0278, 26.2412) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.16
Cobalt Blue
#030AA7
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 3.94
Darkblue
#00008B
ΔE00 4.06
Royal Blue (survey)
#0504AA
ΔE00 4.20
Ultramarine
#2000B1
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29168F #7C8F16
analogous
#16408F #29168F #65168F
triadic
#29168F #8F2916 #168F29
tetradic
#29168F #8F1640 #7C8F16 #168F65
square
#29168F #8F1640 #7C8F16 #168F65
split-complementary
#29168F #8F6516 #408F16
monochromatic
#0B0625 #1A0E5A #29168F #381EC4 #583EE1
Accessibility & contrast
On white
13.08
#29168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#29168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29168F
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29168F | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #29168f; /* rgb */ color: rgb(41, 22, 143); /* oklch */ color: oklch(33.2% 0.181 277.1);
Tailwind
colors: {
custom: {
50: '#7458b1',
500: '#29168f',
950: '#000000',
},
}SCSS
$custom: #29168f; $custom-light: #7458b1; $custom-dark: #000000;
JSON
{
"hex": "#29168f",
"rgb": {
"r": 41,
"g": 22,
"b": 143
},
"hsl": {
"h": 249.421,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.33194,
"c": 0.1809,
"h": 277.1
},
"luminance": 0.03028
}Semantic roles & 50–950 ramp
primary
#29168F
secondary
#ADC13F
accent
#F038D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980