#2872D3 Color

Inspect #2872D3 across formats, palettes, contrast and closest named color matches.

Color preview

#2872D3

Color formats

HEX
#2872D3
RGB
rgb(40, 114, 211)
RGBA
rgba(40, 114, 211, 1)
HSL
hsl(214, 68%, 49%)
HSV
hsv(214, 81%, 83%)
CMYK
cmyk(81%, 46%, 0%, 17%)
CSS variable
--color-primary: #2872D3;
Lowercase HEX
#2872d3

Shades

Tints

Tones

Harmony

CSS snippets for #2872D3

.color-2872d3 {
  color: #2872D3;
  background-color: #2872D3;
}

Frequently asked questions

What color is #2872D3?+

#2872D3 is a HEX color with RGB value rgb(40, 114, 211) and HSL value hsl(214, 68%, 49%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #2872D3?+

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