#1d5049
a deep, vivid cyan · cool · closest name: darkslategray
RGB
29, 80, 73
HSL
172°, 47%, 21%
CMYK
64, 0, 9, 69
Luminance
0.0648
Every format
| HEX | #1d5049 |
| RGB | rgb(29, 80, 73) |
| HSL | hsl(172, 47%, 21%) |
| CMYK | cmyk(64%, 0%, 9%, 69%) |
| LAB | lab(30.6 -18.9 -1.0) |
| LCH | lch(30.6 18.9 182.9) |
| OKLCH | oklch(0.395 0.056 183.0) |
Copy-ready code
/* CSS */
color: #1d5049;
background-color: #1d5049;
/* Tailwind (arbitrary) */
class="text-[#1d5049] bg-[#1d5049]"
/* SCSS */
$brand: #1d5049;
/* SwiftUI */
Color(red: 0.114, green: 0.314, blue: 0.286)
/* Android */
Color.parseColor("#1d5049")Accessibility — WCAG contrast
Aa
#1d5049 on white: 9.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1d5049 on black: 2.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red11.4%
Green31.4%
Blue28.6%
CMYK percentages
Cyan63.7%
Magenta0.0%
Yellow8.8%
Key (black)68.6%
Color previews
#1d5049 text on a black background
contrast 2.30:1
Card sample
#1d5049 text on a white background
contrast 9.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1d5049;
Background color
Panel with #1d5049 background
background-color: #1d5049;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1d5049;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(29, 80, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 80, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d5049; background: linear-gradient(135deg, #1d5049, #1D3550);