#40299E Color

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

Color preview

#40299E

Color formats

HEX
#40299E
RGB
rgb(64, 41, 158)
RGBA
rgba(64, 41, 158, 1)
HSL
hsl(252, 59%, 39%)
HSV
hsv(252, 74%, 62%)
CMYK
cmyk(59%, 74%, 0%, 38%)
CSS variable
--color-primary: #40299E;
Lowercase HEX
#40299e

Shades

Tints

Tones

Harmony

CSS snippets for #40299E

.color-40299e {
  color: #40299E;
  background-color: #40299E;
}

Frequently asked questions

What color is #40299E?+

#40299E is a HEX color with RGB value rgb(64, 41, 158) and HSL value hsl(252, 59%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #40299E?+

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