#342FB6 Color

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

Color preview

#342FB6

Color formats

HEX
#342FB6
RGB
rgb(52, 47, 182)
RGBA
rgba(52, 47, 182, 1)
HSL
hsl(242, 59%, 45%)
HSV
hsv(242, 74%, 71%)
CMYK
cmyk(71%, 74%, 0%, 29%)
CSS variable
--color-primary: #342FB6;
Lowercase HEX
#342fb6

Shades

Tints

Tones

Harmony

CSS snippets for #342FB6

.color-342fb6 {
  color: #342FB6;
  background-color: #342FB6;
}

Frequently asked questions

What color is #342FB6?+

#342FB6 is a HEX color with RGB value rgb(52, 47, 182) and HSL value hsl(242, 59%, 45%). Its closest CSS named color is DarkSlateBlue.

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

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