#342A60 Color

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

Color preview

#342A60

Color formats

HEX
#342A60
RGB
rgb(52, 42, 96)
RGBA
rgba(52, 42, 96, 1)
HSL
hsl(251, 39%, 27%)
HSV
hsv(251, 56%, 38%)
CMYK
cmyk(46%, 56%, 0%, 62%)
CSS variable
--color-primary: #342A60;
Lowercase HEX
#342a60

Shades

Tints

Tones

Harmony

CSS snippets for #342A60

.color-342a60 {
  color: #342A60;
  background-color: #342A60;
}

Frequently asked questions

What color is #342A60?+

#342A60 is a HEX color with RGB value rgb(52, 42, 96) and HSL value hsl(251, 39%, 27%). Its closest CSS named color is MidnightBlue.

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

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