#2871DD Color

Inspect #2871DD across formats, palettes, contrast and closest named color matches.

Color preview

#2871DD

Color formats

HEX
#2871DD
RGB
rgb(40, 113, 221)
RGBA
rgba(40, 113, 221, 1)
HSL
hsl(216, 73%, 51%)
HSV
hsv(216, 82%, 87%)
CMYK
cmyk(82%, 49%, 0%, 13%)
CSS variable
--color-primary: #2871DD;
Lowercase HEX
#2871dd

Shades

Tints

Tones

Harmony

CSS snippets for #2871DD

.color-2871dd {
  color: #2871DD;
  background-color: #2871DD;
}

Frequently asked questions

What color is #2871DD?+

#2871DD is a HEX color with RGB value rgb(40, 113, 221) and HSL value hsl(216, 73%, 51%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #2871DD?+

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