#342970 Color

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

Color preview

#342970

Color formats

HEX
#342970
RGB
rgb(52, 41, 112)
RGBA
rgba(52, 41, 112, 1)
HSL
hsl(249, 46%, 30%)
HSV
hsv(249, 63%, 44%)
CMYK
cmyk(54%, 63%, 0%, 56%)
CSS variable
--color-primary: #342970;
Lowercase HEX
#342970

Shades

Tints

Tones

Harmony

CSS snippets for #342970

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

Frequently asked questions

What color is #342970?+

#342970 is a HEX color with RGB value rgb(52, 41, 112) and HSL value hsl(249, 46%, 30%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #342970?+

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