#28107C Color

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

Color preview

#28107C

Color formats

HEX
#28107C
RGB
rgb(40, 16, 124)
RGBA
rgba(40, 16, 124, 1)
HSL
hsl(253, 77%, 27%)
HSV
hsv(253, 87%, 49%)
CMYK
cmyk(68%, 87%, 0%, 51%)
CSS variable
--color-primary: #28107C;
Lowercase HEX
#28107c

Shades

Tints

Tones

Harmony

CSS snippets for #28107C

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

Frequently asked questions

What color is #28107C?+

#28107C is a HEX color with RGB value rgb(40, 16, 124) and HSL value hsl(253, 77%, 27%). Its closest CSS named color is MidnightBlue.

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

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