#342A9D Color

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

Color preview

#342A9D

Color formats

HEX
#342A9D
RGB
rgb(52, 42, 157)
RGBA
rgba(52, 42, 157, 1)
HSL
hsl(245, 58%, 39%)
HSV
hsv(245, 73%, 62%)
CMYK
cmyk(67%, 73%, 0%, 38%)
CSS variable
--color-primary: #342A9D;
Lowercase HEX
#342a9d

Shades

Tints

Tones

Harmony

CSS snippets for #342A9D

.color-342a9d {
  color: #342A9D;
  background-color: #342A9D;
}

Frequently asked questions

What color is #342A9D?+

#342A9D is a HEX color with RGB value rgb(52, 42, 157) and HSL value hsl(245, 58%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #342A9D?+

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