#280E7B Color

Inspect #280E7B across formats, palettes, contrast and closest named color matches.

Color preview

#280E7B

Color formats

HEX
#280E7B
RGB
rgb(40, 14, 123)
RGBA
rgba(40, 14, 123, 1)
HSL
hsl(254, 80%, 27%)
HSV
hsv(254, 89%, 48%)
CMYK
cmyk(67%, 89%, 0%, 52%)
CSS variable
--color-primary: #280E7B;
Lowercase HEX
#280e7b

Shades

Tints

Tones

Harmony

CSS snippets for #280E7B

.color-280e7b {
  color: #280E7B;
  background-color: #280E7B;
}

Frequently asked questions

What color is #280E7B?+

#280E7B is a HEX color with RGB value rgb(40, 14, 123) and HSL value hsl(254, 80%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #280E7B?+

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