#2F4F4F color (darkslategray)

#2F4F4F is rgb(47, 79, 79) in RGB and hsl(180, 25%, 25%) in HSL. It is exactly the CSS color darkslategray. Use white text on it (contrast 8.93:1).

#2F4F4Fdarkslategray / darkslategrey
HEX#2F4F4F
RGBrgb(47, 79, 79)
RGB percentrgb(18.4%, 31%, 31%)
HSLhsl(180, 25%, 25%)
HSV / HSBhsv(180, 41%, 31%)
CMYKcmyk(41%, 0%, 0%, 69%)
CIELAB (D65)lab(31.3 -11.7 -3.7)

Edit in the color converter → · Check contrast → · Shades →

About #2F4F4F

#2F4F4F is a dark, muted cyan with a hue angle of 180°. It belongs to the cyan & teal family and reads as a cool color. In the RGB model green is the strongest channel at 79 (31%) and red the weakest at 47 (18%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#2F4F4F
RGBrgb(47, 79, 79)
RGB percentrgb(18.4%, 31%, 31%)
HSLhsl(180, 25%, 25%)
HSV / HSBhsv(180, 41%, 31%)
CMYKcmyk(41%, 0%, 0%, 69%)
CIELAB (D65)lab(31.3 -11.7 -3.7)
Decimal3100495
Binary00101111 01001111 01001111

HEX 2F 4F 4F → 47, 79, 79 (each pair is a base-16 number: 2×16 + F = 47)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #2F4F4F

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #2F4F4FRatioAA normalAA largeAAA normalAAA large
White text8.93:1PassPassPassPass
Black text2.35:1FailFailFailFail
White text on #2F4F4F
Black text on #2F4F4F
#2F4F4F text on white
#2F4F4F text on black

Relative luminance is 0.0676 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#4b4c4f

Deuteranopia
#45484f

Tritanopia
#22514f

Achromatopsia
#4a4a4a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 13.2). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkslategray#2f4f4f0
dimgray#69696917
teal#00808018
darkcyan#008b8b21.8

CSS

.element {
  color: #2f4f4f;
  background-color: rgb(47, 79, 79);
  border: 1px solid hsl(180, 25%, 25%);
  box-shadow: 0 2px 8px rgb(47 79 79 / 50%);
}
:root { --brand: #2f4f4f; }

Frequently asked questions

What color is #2F4F4F?
A dark muted cyan in the cyan & teal family. Closest CSS name: darkslategray.
What is #2F4F4F in RGB?
rgb(47, 79, 79): red 47, green 79, blue 79.
What is the complementary color of #2F4F4F?
#4F2F2F, found by rotating the hue 180°.