#0c4540 ≈ Dark Slate Gray
#0c4540 is a color from the teal family, with very low lightness and muted saturation. In the RGB model it is made of 4.71% red, 27.06% green and 25.1% blue; printed in CMYK it uses 82.61% cyan, 0% magenta, 7.25% yellow and 72.94% black. Its hue angle is 174.74°, with 70.37% saturation and 15.88% lightness in HSL. It is a cool color, often associated with clarity, calm and renewal. Designers typically use it for health and wellness, technology products and luxury branding. White text on this color reaches a contrast ratio of 10.82:1 (WCAG AAA). The closest named color is Dark Slate Gray (#2f4f4f), ΔE 6.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.047 |
Shades
#0c4540 mixed progressively with black.
Tints
#0c4540 mixed progressively with white.
Tones
#0c4540 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c4540 {
color: #0c4540;
}
.bg-0c4540 {
background-color: #0c4540;
color: #ffffff;
}
.border-0c4540 {
border: 2px solid #0c4540;
}
:root {
--color-primary: #0c4540;
--color-primary-rgb: 12 69 64;
--color-primary-hsl: 175 70% 16%;
}
.gradient-0c4540 {
background: linear-gradient(135deg, #0c4540, #0c2d45);
}
.shadow-0c4540 {
box-shadow: 0 8px 24px rgb(12 69 64 / 0.35);
}
Dark Slate Gray
#0c4540 rgb(12, 69, 64) hsl(175, 70%, 16%) Dark Slate Gray
#450c11 rgb(69, 12, 17) hsl(355, 70%, 16%) Caput Mortuum
#400c45 rgb(64, 12, 69) hsl(295, 70%, 16%) Byzantium
#45400c rgb(69, 64, 12) hsl(55, 70%, 16%) Army Green