#40289F Color

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

Color preview

#40289F

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #40289F

.color-40289f {
  color: #40289F;
  background-color: #40289F;
}

Frequently asked questions

What color is #40289F?+

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

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

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