#2940DC Color

Inspect #2940DC across formats, palettes, contrast and closest named color matches.

Color preview

#2940DC

Color formats

HEX
#2940DC
RGB
rgb(41, 64, 220)
RGBA
rgba(41, 64, 220, 1)
HSL
hsl(232, 72%, 51%)
HSV
hsv(232, 81%, 86%)
CMYK
cmyk(81%, 71%, 0%, 14%)
CSS variable
--color-primary: #2940DC;
Lowercase HEX
#2940dc

Shades

Tints

Tones

Harmony

CSS snippets for #2940DC

.color-2940dc {
  color: #2940DC;
  background-color: #2940DC;
}

Frequently asked questions

What color is #2940DC?+

#2940DC is a HEX color with RGB value rgb(41, 64, 220) and HSL value hsl(232, 72%, 51%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #2940DC?+

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