#28236C Color

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

Color preview

#28236C

Color formats

HEX
#28236C
RGB
rgb(40, 35, 108)
RGBA
rgba(40, 35, 108, 1)
HSL
hsl(244, 51%, 28%)
HSV
hsv(244, 68%, 42%)
CMYK
cmyk(63%, 68%, 0%, 58%)
CSS variable
--color-primary: #28236C;
Lowercase HEX
#28236c

Shades

Tints

Tones

Harmony

CSS snippets for #28236C

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

Frequently asked questions

What color is #28236C?+

#28236C is a HEX color with RGB value rgb(40, 35, 108) and HSL value hsl(244, 51%, 28%). Its closest CSS named color is MidnightBlue.

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

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