CSS Named Color
Copy-ready color values
HEX
#2F4F4FRGB
rgb(47, 79, 79)HSL
hsl(180, 25%, 25%)HSV
hsv(180, 41%, 31%)CMYK approx.
cmyk(41, 0, 0, 69)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #2F4F4F | |
| RGB | rgb(47, 79, 79) | |
| HSL | hsl(180, 25%, 25%) | |
| HSV | hsv(180, 41%, 31%) | |
| CMYK approx. | cmyk(41, 0, 0, 69) | |
| CSS keyword | darkslategray |
Contrast and classification
DarkLightness8.93:1Contrast with white2.35:1Contrast with blackGreen / TealColor family
Shade and tint preview
White 10%#446161
White 30%#6D8484
White 70%#C1CACA
White 90%#EAEDED
Black 10%#2A4747
Black 30%#213737
Black 70%#0E1818
Black 90%#050808
Harmony palettes
Complementary
#D0B0B0#DBC3C3Analogous
#334F4B#2F4F4FTriadic
#4F4F2F#4F2F4FSplit complementary
#D8BEBE#AB9090Using Darkslategray
Darkslategray works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-darkslategray: #2f4f4f;
}
.button-primary {
background: var(--color-darkslategray);
color: #ffffff;
}
$darkslategray: #2f4f4f;
// Tailwind arbitrary value
class="bg-[#2f4f4f] text-white"