#2012BA Color

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

Color preview

#2012BA

Color formats

HEX
#2012BA
RGB
rgb(32, 18, 186)
RGBA
rgba(32, 18, 186, 1)
HSL
hsl(245, 82%, 40%)
HSV
hsv(245, 90%, 73%)
CMYK
cmyk(83%, 90%, 0%, 27%)
CSS variable
--color-primary: #2012BA;
Lowercase HEX
#2012ba

Shades

Tints

Tones

Harmony

CSS snippets for #2012BA

.color-2012ba {
  color: #2012BA;
  background-color: #2012BA;
}

Frequently asked questions

What color is #2012BA?+

#2012BA is a HEX color with RGB value rgb(32, 18, 186) and HSL value hsl(245, 82%, 40%). Its closest CSS named color is MediumBlue.

What is the closest Tailwind color to #2012BA?+

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