#281F34 Color

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

Color preview

#281F34

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #281F34

.color-281f34 {
  color: #281F34;
  background-color: #281F34;
}

Frequently asked questions

What color is #281F34?+

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

What is the closest Tailwind color to #281F34?+

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