#340FAC Color

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

Color preview

#340FAC

Color formats

HEX
#340FAC
RGB
rgb(52, 15, 172)
RGBA
rgba(52, 15, 172, 1)
HSL
hsl(254, 84%, 37%)
HSV
hsv(254, 91%, 67%)
CMYK
cmyk(70%, 91%, 0%, 33%)
CSS variable
--color-primary: #340FAC;
Lowercase HEX
#340fac

Shades

Tints

Tones

Harmony

CSS snippets for #340FAC

.color-340fac {
  color: #340FAC;
  background-color: #340FAC;
}

Frequently asked questions

What color is #340FAC?+

#340FAC is a HEX color with RGB value rgb(52, 15, 172) and HSL value hsl(254, 84%, 37%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #340FAC?+

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