#342D9F Color

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

Color preview

#342D9F

Color formats

HEX
#342D9F
RGB
rgb(52, 45, 159)
RGBA
rgba(52, 45, 159, 1)
HSL
hsl(244, 56%, 40%)
HSV
hsv(244, 72%, 62%)
CMYK
cmyk(67%, 72%, 0%, 38%)
CSS variable
--color-primary: #342D9F;
Lowercase HEX
#342d9f

Shades

Tints

Tones

Harmony

CSS snippets for #342D9F

.color-342d9f {
  color: #342D9F;
  background-color: #342D9F;
}

Frequently asked questions

What color is #342D9F?+

#342D9F is a HEX color with RGB value rgb(52, 45, 159) and HSL value hsl(244, 56%, 40%). Its closest CSS named color is DarkSlateBlue.

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

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