#1F0FAC Color

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

Color preview

#1F0FAC

Color formats

HEX
#1F0FAC
RGB
rgb(31, 15, 172)
RGBA
rgba(31, 15, 172, 1)
HSL
hsl(246, 84%, 37%)
HSV
hsv(246, 91%, 67%)
CMYK
cmyk(82%, 91%, 0%, 33%)
CSS variable
--color-primary: #1F0FAC;
Lowercase HEX
#1f0fac

Shades

Tints

Tones

Harmony

CSS snippets for #1F0FAC

.color-1f0fac {
  color: #1F0FAC;
  background-color: #1F0FAC;
}

Frequently asked questions

What color is #1F0FAC?+

#1F0FAC is a HEX color with RGB value rgb(31, 15, 172) and HSL value hsl(246, 84%, 37%). Its closest CSS named color is DarkBlue.

What is the closest Tailwind color to #1F0FAC?+

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