#1F342A Color

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

Color preview

#1F342A

Color formats

HEX
#1F342A
RGB
rgb(31, 52, 42)
RGBA
rgba(31, 52, 42, 1)
HSL
hsl(151, 25%, 16%)
HSV
hsv(151, 40%, 20%)
CMYK
cmyk(40%, 0%, 19%, 80%)
CSS variable
--color-primary: #1F342A;
Lowercase HEX
#1f342a

Shades

Tints

Tones

Harmony

CSS snippets for #1F342A

.color-1f342a {
  color: #1F342A;
  background-color: #1F342A;
}

Frequently asked questions

What color is #1F342A?+

#1F342A is a HEX color with RGB value rgb(31, 52, 42) and HSL value hsl(151, 25%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #1F342A?+

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