#2A5060 Color

Inspect #2A5060 across formats, palettes, contrast and closest named color matches.

Color preview

#2A5060

Color formats

HEX
#2A5060
RGB
rgb(42, 80, 96)
RGBA
rgba(42, 80, 96, 1)
HSL
hsl(198, 39%, 27%)
HSV
hsv(198, 56%, 38%)
CMYK
cmyk(56%, 17%, 0%, 62%)
CSS variable
--color-primary: #2A5060;
Lowercase HEX
#2a5060

Shades

Tints

Tones

Harmony

CSS snippets for #2A5060

.color-2a5060 {
  color: #2A5060;
  background-color: #2A5060;
}

Frequently asked questions

What color is #2A5060?+

#2A5060 is a HEX color with RGB value rgb(42, 80, 96) and HSL value hsl(198, 39%, 27%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #2A5060?+

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