#1f5a5c ≈ Dark Slate Gray
#1f5a5c is a color from the cyan family, with low lightness and muted saturation. In the RGB model it is made of 12.16% red, 35.29% green and 36.08% blue; printed in CMYK it uses 66.3% cyan, 2.17% magenta, 0% yellow and 63.92% black. Its hue angle is 181.97°, with 49.59% saturation and 24.12% lightness in HSL. It is a cool color, often associated with freshness, technology and clarity. Designers typically use it for health and wellness, technology products and luxury branding. White text on this color reaches a contrast ratio of 7.85:1 (WCAG AAA). The closest named color is Dark Slate Gray (#2f4f4f), ΔE 5.54.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0838 |
Shades
#1f5a5c mixed progressively with black.
Tints
#1f5a5c mixed progressively with white.
Tones
#1f5a5c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f5a5c {
color: #1f5a5c;
}
.bg-1f5a5c {
background-color: #1f5a5c;
color: #ffffff;
}
.border-1f5a5c {
border: 2px solid #1f5a5c;
}
:root {
--color-primary: #1f5a5c;
--color-primary-rgb: 31 90 92;
--color-primary-hsl: 182 50% 24%;
}
.gradient-1f5a5c {
background: linear-gradient(135deg, #1f5a5c, #1f3c5c);
}
.shadow-1f5a5c {
box-shadow: 0 8px 24px rgb(31 90 92 / 0.35);
}
Dark Slate Gray
#1f5a5c rgb(31, 90, 92) hsl(182, 50%, 24%) Dark Slate Gray
#5c211f rgb(92, 33, 31) hsl(2, 50%, 24%) Caput Mortuum
#5c1f5a rgb(92, 31, 90) hsl(302, 50%, 24%) Byzantium
#5a5c1f rgb(90, 92, 31) hsl(62, 50%, 24%) Army Green