#2A506F Color

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

Color preview

#2A506F

Color formats

HEX
#2A506F
RGB
rgb(42, 80, 111)
RGBA
rgba(42, 80, 111, 1)
HSL
hsl(207, 45%, 30%)
HSV
hsv(207, 62%, 44%)
CMYK
cmyk(62%, 28%, 0%, 56%)
CSS variable
--color-primary: #2A506F;
Lowercase HEX
#2a506f

Shades

Tints

Tones

Harmony

CSS snippets for #2A506F

.color-2a506f {
  color: #2A506F;
  background-color: #2A506F;
}

Frequently asked questions

What color is #2A506F?+

#2A506F is a HEX color with RGB value rgb(42, 80, 111) and HSL value hsl(207, 45%, 30%). Its closest CSS named color is DarkSlateGray.

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

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