Dark Slate Gray color: hex code #2F4F4F

#2F4F4F rgb(47, 79, 79)
Shades of gray

Dark Slate Gray has the hex code #2F4F4F. It is a dark, desaturated cyan.

In the RGB color model it is made of 18.4% red, 31% green and 31% blue (47, 79, 79).

Its hue angle is 180°, with 25% saturation and 25% lightness. For print, the CMYK equivalent is 41% cyan, 0% magenta, 0% yellow and 69% black.

You can use it in CSS with the keyword darkslategray.

White text is the more readable choice on this background (contrast 8.93:1).

Dark Slate Gray (#2F4F4F) color codes

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%)
CIE LABlab(31.26, -11.72, -3.72)
CIE LCHlch(31.26, 12.3, 197.63)
CIE XYZxyz(5.379, 6.76, 8.417)
Decimal3100495
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Dark Slate Gray, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #2F4F4FRatioAAAAAAA large
Sample text2.35:1FailFailFail
Sample text8.93:1PassPassPass
#2F4F4F as text onRatioAAAAAAA large
Sample text8.93:1PassPassPass
Sample text2.35:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #2F4F4F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2f4f4f; }
.text { color: #2f4f4f; }
.border { border: 2px solid #2f4f4f; }
.transparent { background-color: rgb(47 79 79 / 50%); }
.gradient { background: linear-gradient(to right, #2f4f4f, #2f3f4f); }
Background
Text color
Border

Similar colors

See #2F4F4F on its hex code page

Questions

What color is #2F4F4F?
#2F4F4F is a dark, desaturated cyan known as Dark Slate Gray. It belongs to the gray family of colors.
What is the RGB value of Dark Slate Gray?
The RGB value is 47, 79, 79: 47 red, 79 green and 79 blue on a 0 to 255 scale.
What is the complementary color of Dark Slate Gray?
The complementary color is #4F2F2F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2F4F4F?
White text. Black text has a contrast ratio of 2.35:1 and white text 8.93:1. WCAG asks for at least 4.5:1 for normal text.