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.
- It is the CSS named color darkslategray / darkslategrey, so you can write
color: darkslategrayinstead of the hex code.
Color conversions
| HEX | #2F4F4F |
|---|---|
| RGB | rgb(47, 79, 79) |
| RGB percent | rgb(18.4%, 31%, 31%) |
| HSL | hsl(180, 25%, 25%) |
| HSV / HSB | hsv(180, 41%, 31%) |
| CMYK | cmyk(41%, 0%, 0%, 69%) |
| CIELAB (D65) | lab(31.3 -11.7 -3.7) |
| Decimal | 3100495 |
| Binary | 00101111 01001111 01001111 |
HEX 2F 4F 4F → 47, 79, 79 (each pair is a base-16 number: 2×16 + F = 47)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #2F4F4F | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 8.93:1 | Pass | Pass | Pass | Pass |
| Black text | 2.35:1 | Fail | Fail | Fail | Fail |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| darkslategray | #2f4f4f | 0 |
| dimgray | #696969 | 17 |
| teal | #008080 | 18 |
| darkcyan | #008b8b | 21.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; }