#28117B Color

Inspect #28117B across formats, palettes, contrast and closest named color matches.

Color preview

#28117B

Color formats

HEX
#28117B
RGB
rgb(40, 17, 123)
RGBA
rgba(40, 17, 123, 1)
HSL
hsl(253, 76%, 27%)
HSV
hsv(253, 86%, 48%)
CMYK
cmyk(67%, 86%, 0%, 52%)
CSS variable
--color-primary: #28117B;
Lowercase HEX
#28117b

Shades

Tints

Tones

Harmony

CSS snippets for #28117B

.color-28117b {
  color: #28117B;
  background-color: #28117B;
}

Frequently asked questions

What color is #28117B?+

#28117B is a HEX color with RGB value rgb(40, 17, 123) and HSL value hsl(253, 76%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #28117B?+

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