#342DFB Color

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

Color preview

#342DFB

Color formats

HEX
#342DFB
RGB
rgb(52, 45, 251)
RGBA
rgba(52, 45, 251, 1)
HSL
hsl(242, 96%, 58%)
HSV
hsv(242, 82%, 98%)
CMYK
cmyk(79%, 82%, 0%, 2%)
CSS variable
--color-primary: #342DFB;
Lowercase HEX
#342dfb

Shades

Tints

Tones

Harmony

CSS snippets for #342DFB

.color-342dfb {
  color: #342DFB;
  background-color: #342DFB;
}

Frequently asked questions

What color is #342DFB?+

#342DFB is a HEX color with RGB value rgb(52, 45, 251) and HSL value hsl(242, 96%, 58%). Its closest CSS named color is RoyalBlue.

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

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