#342168 Color

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

Color preview

#342168

Color formats

HEX
#342168
RGB
rgb(52, 33, 104)
RGBA
rgba(52, 33, 104, 1)
HSL
hsl(256, 52%, 27%)
HSV
hsv(256, 68%, 41%)
CMYK
cmyk(50%, 68%, 0%, 59%)
CSS variable
--color-primary: #342168;
Lowercase HEX
#342168

Shades

Tints

Tones

Harmony

CSS snippets for #342168

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

Frequently asked questions

What color is #342168?+

#342168 is a HEX color with RGB value rgb(52, 33, 104) and HSL value hsl(256, 52%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #342168?+

The closest Tailwind color is violet-950, available as the bg-violet-950 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