#2840DC Color

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

Color preview

#2840DC

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #2840DC

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

Frequently asked questions

What color is #2840DC?+

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

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

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