#2F5040 Color

Inspect #2F5040 across formats, palettes, contrast and closest named color matches.

Color preview

#2F5040

Color formats

HEX
#2F5040
RGB
rgb(47, 80, 64)
RGBA
rgba(47, 80, 64, 1)
HSL
hsl(151, 26%, 25%)
HSV
hsv(151, 41%, 31%)
CMYK
cmyk(41%, 0%, 20%, 69%)
CSS variable
--color-primary: #2F5040;
Lowercase HEX
#2f5040

Shades

Tints

Tones

Harmony

CSS snippets for #2F5040

.color-2f5040 {
  color: #2F5040;
  background-color: #2F5040;
}

Frequently asked questions

What color is #2F5040?+

#2F5040 is a HEX color with RGB value rgb(47, 80, 64) and HSL value hsl(151, 26%, 25%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #2F5040?+

The closest Tailwind color is neutral-700, available as the bg-neutral-700 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools