#2845AF Color

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

Color preview

#2845AF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #2845AF

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

Frequently asked questions

What color is #2845AF?+

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

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

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