#305040 Color

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

Color preview

#305040

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #305040

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

Frequently asked questions

What color is #305040?+

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

What is the closest Tailwind color to #305040?+

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