#1F342D Color

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

Color preview

#1F342D

Color formats

HEX
#1F342D
RGB
rgb(31, 52, 45)
RGBA
rgba(31, 52, 45, 1)
HSL
hsl(160, 25%, 16%)
HSV
hsv(160, 40%, 20%)
CMYK
cmyk(40%, 0%, 13%, 80%)
CSS variable
--color-primary: #1F342D;
Lowercase HEX
#1f342d

Shades

Tints

Tones

Harmony

CSS snippets for #1F342D

.color-1f342d {
  color: #1F342D;
  background-color: #1F342D;
}

Frequently asked questions

What color is #1F342D?+

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

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

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