#342D6C Color

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

Color preview

#342D6C

Color formats

HEX
#342D6C
RGB
rgb(52, 45, 108)
RGBA
rgba(52, 45, 108, 1)
HSL
hsl(247, 41%, 30%)
HSV
hsv(247, 58%, 42%)
CMYK
cmyk(52%, 58%, 0%, 58%)
CSS variable
--color-primary: #342D6C;
Lowercase HEX
#342d6c

Shades

Tints

Tones

Harmony

CSS snippets for #342D6C

.color-342d6c {
  color: #342D6C;
  background-color: #342D6C;
}

Frequently asked questions

What color is #342D6C?+

#342D6C is a HEX color with RGB value rgb(52, 45, 108) and HSL value hsl(247, 41%, 30%). Its closest CSS named color is MidnightBlue.

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

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