#1F2834 Color

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

Color preview

#1F2834

Color formats

HEX
#1F2834
RGB
rgb(31, 40, 52)
RGBA
rgba(31, 40, 52, 1)
HSL
hsl(214, 25%, 16%)
HSV
hsv(214, 40%, 20%)
CMYK
cmyk(40%, 23%, 0%, 80%)
CSS variable
--color-primary: #1F2834;
Lowercase HEX
#1f2834

Shades

Tints

Tones

Harmony

CSS snippets for #1F2834

.color-1f2834 {
  color: #1F2834;
  background-color: #1F2834;
}

Frequently asked questions

What color is #1F2834?+

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

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

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