DarkSlateGray — Color Codes & Palette
Color Codes
| Format | Value | |
|---|---|---|
| HEX | #2F4F4F | |
| RGB | rgb(47, 79, 79) | |
| HSL | hsl(180, 25%, 25%) |
Shades of DarkSlateGray
| #2C4949 | #284343 | #243D3D | #213636 | #1D3030 | #192929 | #152323 | #111D1D |
Tints of DarkSlateGray
| #3F6969 | #4E8383 | #5E9C9C | #76ADAD | #8FBCBC | #A9CBCB | #C2DBDB | #DCEAEA |
Color Pairings & Harmony
|
Complementary
#503030
|
Analogous +30°
#304050
|
Analogous −30°
#305040
|
Triadic +120°
#503050
|
Triadic −120°
#505030
|
Contrast & Accessibility (WCAG 2.1)
CSS Snippet
.element {
color: #2F4F4F;
}
.element-bg {
background-color: #2F4F4F;
color: #ffffff;
}
.element-border {
border: 2px solid #2F4F4F;
}
About DarkSlateGray
DarkSlateGray is a dark color with moderate saturation, defined by the hex code #2F4F4F. Its exact color model values are rgb(47, 79, 79) in RGB and hsl(180, 25%, 25%) in HSL (hue 180°, saturation 25%, lightness 25%). On a white background the contrast ratio is 8.93:1 — AAA pass for normal text, and on black it is 2.35:1 — Fail. Use DarkSlateGray for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.
Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.
Open the Color Picker →