#2C2F40 Color

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

Color preview

#2C2F40

Color formats

HEX
#2C2F40
RGB
rgb(44, 47, 64)
RGBA
rgba(44, 47, 64, 1)
HSL
hsl(231, 19%, 21%)
HSV
hsv(231, 31%, 25%)
CMYK
cmyk(31%, 27%, 0%, 75%)
CSS variable
--color-primary: #2C2F40;
Lowercase HEX
#2c2f40

Shades

Tints

Tones

Harmony

CSS snippets for #2C2F40

.color-2c2f40 {
  color: #2C2F40;
  background-color: #2C2F40;
}

Frequently asked questions

What color is #2C2F40?+

#2C2F40 is a HEX color with RGB value rgb(44, 47, 64) and HSL value hsl(231, 19%, 21%). Its closest CSS named color is DarkSlateGray.

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

The closest Tailwind color is slate-800, available as the bg-slate-800 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