#2852AF Color

Inspect #2852AF across formats, palettes, contrast and closest named color matches.

Color preview

#2852AF

Color formats

HEX
#2852AF
RGB
rgb(40, 82, 175)
RGBA
rgba(40, 82, 175, 1)
HSL
hsl(221, 63%, 42%)
HSV
hsv(221, 77%, 69%)
CMYK
cmyk(77%, 53%, 0%, 31%)
CSS variable
--color-primary: #2852AF;
Lowercase HEX
#2852af

Shades

Tints

Tones

Harmony

CSS snippets for #2852AF

.color-2852af {
  color: #2852AF;
  background-color: #2852AF;
}

Frequently asked questions

What color is #2852AF?+

#2852AF is a HEX color with RGB value rgb(40, 82, 175) and HSL value hsl(221, 63%, 42%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #2852AF?+

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