#28206F Color

Inspect #28206F across formats, palettes, contrast and closest named color matches.

Color preview

#28206F

Color formats

HEX
#28206F
RGB
rgb(40, 32, 111)
RGBA
rgba(40, 32, 111, 1)
HSL
hsl(246, 55%, 28%)
HSV
hsv(246, 71%, 44%)
CMYK
cmyk(64%, 71%, 0%, 56%)
CSS variable
--color-primary: #28206F;
Lowercase HEX
#28206f

Shades

Tints

Tones

Harmony

CSS snippets for #28206F

.color-28206f {
  color: #28206F;
  background-color: #28206F;
}

Frequently asked questions

What color is #28206F?+

#28206F is a HEX color with RGB value rgb(40, 32, 111) and HSL value hsl(246, 55%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #28206F?+

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