#40289E Color

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

Color preview

#40289E

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #40289E

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

Frequently asked questions

What color is #40289E?+

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

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

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