#2817AF Color

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

Color preview

#2817AF

Color formats

HEX
#2817AF
RGB
rgb(40, 23, 175)
RGBA
rgba(40, 23, 175, 1)
HSL
hsl(247, 77%, 39%)
HSV
hsv(247, 87%, 69%)
CMYK
cmyk(77%, 87%, 0%, 31%)
CSS variable
--color-primary: #2817AF;
Lowercase HEX
#2817af

Shades

Tints

Tones

Harmony

CSS snippets for #2817AF

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

Frequently asked questions

What color is #2817AF?+

#2817AF is a HEX color with RGB value rgb(40, 23, 175) and HSL value hsl(247, 77%, 39%). Its closest CSS named color is MediumBlue.

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

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