#2F4F4F

#2F4F4F is the hex color DarkSlateGray. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #2F4F4F; the exact match is DarkSlateGray.

Open #2F4F4F in the picker

#2F4F4F color codes

HEX
#2F4F4F
HEX8
#2F4F4FFF
HEX8 (Android)
#FF2F4F4F
RGB
rgb(47, 79, 79)
RGB (%)
18%, 31%, 31%
HSL
hsl(180, 25%, 25%)
HSV / HSB
hsv(180, 41%, 31%)
CMYK
cmyk(41%, 0%, 0%, 69%)
OKLCH
oklch(0.403 0.0377 195.76)
OKLCH (%)
oklch(40.3% 0.0377 195.76)
Decimal
3100495

What color is #2F4F4F?

#2F4F4F sits at 40% lightness and 0.0377 chroma in OKLCH, hue 195.76°. Its nearest named color is DarkSlateGray (an exact match).

Shades and tints of #2F4F4F

Tints

Shades

Tones

#2F4F4F color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #2F4F4F in CSS

.text       { color: #2F4F4F; }
.background { background-color: #2F4F4F; }
.border     { border: 2px solid #2F4F4F; }

/* Modern, perceptually uniform */
.text { color: oklch(0.403 0.0377 195.76); }

/* #2F4F4F at 50% transparency */
.overlay { background-color: #2F4F4F80; }

Is #2F4F4F accessible?

#2F4F4F on white text scores 8.93:1; on black text it scores 2.35:1. White text passes WCAG AAA on #2F4F4F. Recommended text color on a #2F4F4F background: white.

A 2.35:1 vs black
A 8.93:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#2F4F4F) → white
APCA Lc experimental 94.8 Lc · body text — preferred (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

See more in the teal family on the colors hub.

Frequently asked questions

What color is #2F4F4F?
#2F4F4F is DarkSlateGray. In RGB it is rgb(47, 79, 79), and in HSL hsl(180, 25%, 25%).
What is #2F4F4F in RGB?
#2F4F4F converts to rgb(47, 79, 79) — red 47, green 79, blue 79.
What text color is readable on #2F4F4F?
White text — it has the higher contrast ratio (8.93:1) against #2F4F4F. White text passes WCAG AAA on #2F4F4F.
Open #2F4F4F in the picker