#40978B Color

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

Color preview

#40978B

Color formats

HEX
#40978B
RGB
rgb(64, 151, 139)
RGBA
rgba(64, 151, 139, 1)
HSL
hsl(172, 40%, 42%)
HSV
hsv(172, 58%, 59%)
CMYK
cmyk(58%, 0%, 8%, 41%)
CSS variable
--color-primary: #40978B;
Lowercase HEX
#40978b

Shades

Tints

Tones

Harmony

CSS snippets for #40978B

.color-40978b {
  color: #40978B;
  background-color: #40978B;
}

Frequently asked questions

What color is #40978B?+

#40978B is a HEX color with RGB value rgb(64, 151, 139) and HSL value hsl(172, 40%, 42%). Its closest CSS named color is CadetBlue.

What is the closest Tailwind color to #40978B?+

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