#28235C Color

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

Color preview

#28235C

Color formats

HEX
#28235C
RGB
rgb(40, 35, 92)
RGBA
rgba(40, 35, 92, 1)
HSL
hsl(245, 45%, 25%)
HSV
hsv(245, 62%, 36%)
CMYK
cmyk(57%, 62%, 0%, 64%)
CSS variable
--color-primary: #28235C;
Lowercase HEX
#28235c

Shades

Tints

Tones

Harmony

CSS snippets for #28235C

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

Frequently asked questions

What color is #28235C?+

#28235C is a HEX color with RGB value rgb(40, 35, 92) and HSL value hsl(245, 45%, 25%). Its closest CSS named color is MidnightBlue.

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

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