#2F0CBA Color

Inspect #2F0CBA across formats, palettes, contrast and closest named color matches.

Color preview

#2F0CBA

Color formats

HEX
#2F0CBA
RGB
rgb(47, 12, 186)
RGBA
rgba(47, 12, 186, 1)
HSL
hsl(252, 88%, 39%)
HSV
hsv(252, 94%, 73%)
CMYK
cmyk(75%, 94%, 0%, 27%)
CSS variable
--color-primary: #2F0CBA;
Lowercase HEX
#2f0cba

Shades

Tints

Tones

Harmony

CSS snippets for #2F0CBA

.color-2f0cba {
  color: #2F0CBA;
  background-color: #2F0CBA;
}

Frequently asked questions

What color is #2F0CBA?+

#2F0CBA is a HEX color with RGB value rgb(47, 12, 186) and HSL value hsl(252, 88%, 39%). Its closest CSS named color is MediumBlue.

What is the closest Tailwind color to #2F0CBA?+

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