#1F1D34 Color

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

Color preview

#1F1D34

Color formats

HEX
#1F1D34
RGB
rgb(31, 29, 52)
RGBA
rgba(31, 29, 52, 1)
HSL
hsl(245, 28%, 16%)
HSV
hsv(245, 44%, 20%)
CMYK
cmyk(40%, 44%, 0%, 80%)
CSS variable
--color-primary: #1F1D34;
Lowercase HEX
#1f1d34

Shades

Tints

Tones

Harmony

CSS snippets for #1F1D34

.color-1f1d34 {
  color: #1F1D34;
  background-color: #1F1D34;
}

Frequently asked questions

What color is #1F1D34?+

#1F1D34 is a HEX color with RGB value rgb(31, 29, 52) and HSL value hsl(245, 28%, 16%). Its closest CSS named color is DarkSlateGray.

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

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