#2A5062 Color

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

Color preview

#2A5062

Color formats

HEX
#2A5062
RGB
rgb(42, 80, 98)
RGBA
rgba(42, 80, 98, 1)
HSL
hsl(199, 40%, 27%)
HSV
hsv(199, 57%, 38%)
CMYK
cmyk(57%, 18%, 0%, 62%)
CSS variable
--color-primary: #2A5062;
Lowercase HEX
#2a5062

Shades

Tints

Tones

Harmony

CSS snippets for #2A5062

.color-2a5062 {
  color: #2A5062;
  background-color: #2A5062;
}

Frequently asked questions

What color is #2A5062?+

#2A5062 is a HEX color with RGB value rgb(42, 80, 98) and HSL value hsl(199, 40%, 27%). Its closest CSS named color is DarkSlateGray.

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

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