#342787 Color

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

Color preview

#342787

Color formats

HEX
#342787
RGB
rgb(52, 39, 135)
RGBA
rgba(52, 39, 135, 1)
HSL
hsl(248, 55%, 34%)
HSV
hsv(248, 71%, 53%)
CMYK
cmyk(61%, 71%, 0%, 47%)
CSS variable
--color-primary: #342787;
Lowercase HEX
#342787

Shades

Tints

Tones

Harmony

CSS snippets for #342787

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

Frequently asked questions

What color is #342787?+

#342787 is a HEX color with RGB value rgb(52, 39, 135) and HSL value hsl(248, 55%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #342787?+

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