#305042 Color

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

Color preview

#305042

Color formats

HEX
#305042
RGB
rgb(48, 80, 66)
RGBA
rgba(48, 80, 66, 1)
HSL
hsl(154, 25%, 25%)
HSV
hsv(154, 40%, 31%)
CMYK
cmyk(40%, 0%, 18%, 69%)
CSS variable
--color-primary: #305042;
Lowercase HEX
#305042

Shades

Tints

Tones

Harmony

CSS snippets for #305042

.color-305042 {
  color: #305042;
  background-color: #305042;
}

Frequently asked questions

What color is #305042?+

#305042 is a HEX color with RGB value rgb(48, 80, 66) and HSL value hsl(154, 25%, 25%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #305042?+

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