#2F28EB Color

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

Color preview

#2F28EB

Color formats

HEX
#2F28EB
RGB
rgb(47, 40, 235)
RGBA
rgba(47, 40, 235, 1)
HSL
hsl(242, 83%, 54%)
HSV
hsv(242, 83%, 92%)
CMYK
cmyk(80%, 83%, 0%, 8%)
CSS variable
--color-primary: #2F28EB;
Lowercase HEX
#2f28eb

Shades

Tints

Tones

Harmony

CSS snippets for #2F28EB

.color-2f28eb {
  color: #2F28EB;
  background-color: #2F28EB;
}

Frequently asked questions

What color is #2F28EB?+

#2F28EB is a HEX color with RGB value rgb(47, 40, 235) and HSL value hsl(242, 83%, 54%). Its closest CSS named color is Blue.

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

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