#1B5040 Color

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

Color preview

#1B5040

Color formats

HEX
#1B5040
RGB
rgb(27, 80, 64)
RGBA
rgba(27, 80, 64, 1)
HSL
hsl(162, 50%, 21%)
HSV
hsv(162, 66%, 31%)
CMYK
cmyk(66%, 0%, 20%, 69%)
CSS variable
--color-primary: #1B5040;
Lowercase HEX
#1b5040

Shades

Tints

Tones

Harmony

CSS snippets for #1B5040

.color-1b5040 {
  color: #1B5040;
  background-color: #1B5040;
}

Frequently asked questions

What color is #1B5040?+

#1B5040 is a HEX color with RGB value rgb(27, 80, 64) and HSL value hsl(162, 50%, 21%). Its closest CSS named color is DarkSlateGray.

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

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