#28238B Color

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

Color preview

#28238B

Color formats

HEX
#28238B
RGB
rgb(40, 35, 139)
RGBA
rgba(40, 35, 139, 1)
HSL
hsl(243, 60%, 34%)
HSV
hsv(243, 75%, 55%)
CMYK
cmyk(71%, 75%, 0%, 45%)
CSS variable
--color-primary: #28238B;
Lowercase HEX
#28238b

Shades

Tints

Tones

Harmony

CSS snippets for #28238B

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

Frequently asked questions

What color is #28238B?+

#28238B is a HEX color with RGB value rgb(40, 35, 139) and HSL value hsl(243, 60%, 34%). Its closest CSS named color is MidnightBlue.

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

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