#1A5142 Color

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

Color preview

#1A5142

Color formats

HEX
#1A5142
RGB
rgb(26, 81, 66)
RGBA
rgba(26, 81, 66, 1)
HSL
hsl(164, 51%, 21%)
HSV
hsv(164, 68%, 32%)
CMYK
cmyk(68%, 0%, 19%, 68%)
CSS variable
--color-primary: #1A5142;
Lowercase HEX
#1a5142

Shades

Tints

Tones

Harmony

CSS snippets for #1A5142

.color-1a5142 {
  color: #1A5142;
  background-color: #1A5142;
}

Frequently asked questions

What color is #1A5142?+

#1A5142 is a HEX color with RGB value rgb(26, 81, 66) and HSL value hsl(164, 51%, 21%). Its closest CSS named color is DarkSlateGray.

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

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