Darkslategray Color

HEX, RGB, HSL & CMYK Codes

#2f4f4f
Format Value
HEX #2f4f4f
RGB rgb(47, 79, 79)
HSL hsl(180, 25.4%, 24.7%)
CMYK cmyk(40.5%, 0%, 0%, 69%)
HSV hsv(180, 40.5%, 31%)

darkslategray color harmonies

Tints & shades of darkslategray

Tints (lighter)

#425f5f #556f6f #687f7f #7b8f8f #8e9f9f #a0afaf #b3bfbf #c6cfcf #d9dfdf #ecefef

Shades (darker)

#2b4848 #264141 #223939 #1e3232 #1a2b2b #152424 #111d1d #0d1616 #090e0e #040707

Contrast & accessibility

The quick brown fox

On white · 8.93:1 · AAA

The quick brown fox

On black · 2.35:1 · Fail

Recommended text color: #ffffff

Use darkslategray in code

CSS color: #2f4f4f;
SCSS $color: #2f4f4f;
Tailwind bg-[#2f4f4f]
Swift UIColor(red: 0.184, green: 0.310, blue: 0.310, alpha: 1)
Android Color.parseColor("#2f4f4f")
Flutter Color(0xFF2F4F4F)

Colors similar to darkslategray

Browse all Cyan colors →

What is the HEX code for darkslategray?

The CSS color darkslategray in HEX format is #2f4f4f. Use this value directly in CSS, SVG, and most design tools.

How do I use darkslategray in CSS?

To apply darkslategray in CSS:

  • Text color: color: #2f4f4f;
  • Background: background-color: #2f4f4f;
  • Border: border-color: #2f4f4f;

What are all the color format values for darkslategray?

FormatValue
HEX#2f4f4f
RGBrgb(47, 79, 79)
HSLhsl(180, 25.4%, 24.7%)
CMYKcmyk(40.5%, 0%, 0%, 69%)

How do I convert darkslategray to HEX?

Select darkslategray from the color name list in our color converter. The HEX value — #2f4f4f — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does darkslategray belong to?

darkslategray belongs to the cyan color family. It is a dark, muted color with HSL values: hue 180°, saturation 25.4%, lightness 24.7%.

How do I create lighter and darker shades of darkslategray?

Lighter variant (lightness 39.7%): #4c7f7f. Darker variant (lightness 9.7%): #121f1f. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.