#29187F#29187F
#29187F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.160 H 279.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #29187F |
|---|---|
| RGB | rgb(41, 24, 127) |
| HSL | hsl(250, 68%, 30%) |
| HSV | hsv(250, 81%, 50%) |
| CMYK | cmyk(67.7%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(18.61, 39.03, -54.62) |
| CIE-LCH | lch(18.61, 67.13, 305.55°) |
| OKLab | oklab(31.58% 0.0265 -0.1577) |
| OKLCH | oklch(31.58% 0.16 279.5) |
| XYZ | xyz(5.0706, 2.6566, 20.3201) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.20
Royal
#0C1793
ΔE00 3.59
Indigo (survey)
#380282
ΔE00 3.94
Darkblue
#00008B
ΔE00 4.75
Navy
#000080
ΔE00 4.77
Dark Royal Blue
#02066F
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29187F #6E7F18
analogous
#183B7F #29187F #5D187F
triadic
#29187F #7F2918 #187F29
tetradic
#29187F #7F183B #6E7F18 #187F5D
square
#29187F #7F183B #6E7F18 #187F5D
split-complementary
#29187F #7F5D18 #3B7F18
monochromatic
#08051A #180E4C #29187F #3A22B2 #5338D9
Accessibility & contrast
On white
13.71
#29187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#29187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29187F
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29187F | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #29187f; /* rgb */ color: rgb(41, 24, 127); /* oklch */ color: oklch(31.6% 0.160 279.5);
Tailwind
colors: {
custom: {
50: '#7058a5',
500: '#29187f',
950: '#000000',
},
}SCSS
$custom: #29187f; $custom-light: #7058a5; $custom-dark: #000000;
JSON
{
"hex": "#29187f",
"rgb": {
"r": 41,
"g": 24,
"b": 127
},
"hsl": {
"h": 249.903,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.31576,
"c": 0.15991,
"h": 279.5
},
"luminance": 0.02657
}Semantic roles & 50–950 ramp
primary
#29187F
secondary
#A0B33F
accent
#EB3DCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F