#342942 Color

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

Color preview

#342942

Color formats

HEX
#342942
RGB
rgb(52, 41, 66)
RGBA
rgba(52, 41, 66, 1)
HSL
hsl(266, 23%, 21%)
HSV
hsv(266, 38%, 26%)
CMYK
cmyk(21%, 38%, 0%, 74%)
CSS variable
--color-primary: #342942;
Lowercase HEX
#342942

Shades

Tints

Tones

Harmony

CSS snippets for #342942

.color-342942 {
  color: #342942;
  background-color: #342942;
}

Frequently asked questions

What color is #342942?+

#342942 is a HEX color with RGB value rgb(52, 41, 66) and HSL value hsl(266, 23%, 21%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #342942?+

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