#28206C Color

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

Color preview

#28206C

Color formats

HEX
#28206C
RGB
rgb(40, 32, 108)
RGBA
rgba(40, 32, 108, 1)
HSL
hsl(246, 54%, 27%)
HSV
hsv(246, 70%, 42%)
CMYK
cmyk(63%, 70%, 0%, 58%)
CSS variable
--color-primary: #28206C;
Lowercase HEX
#28206c

Shades

Tints

Tones

Harmony

CSS snippets for #28206C

.color-28206c {
  color: #28206C;
  background-color: #28206C;
}

Frequently asked questions

What color is #28206C?+

#28206C is a HEX color with RGB value rgb(40, 32, 108) and HSL value hsl(246, 54%, 27%). Its closest CSS named color is MidnightBlue.

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

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