#280F7B Color

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

Color preview

#280F7B

Color formats

HEX
#280F7B
RGB
rgb(40, 15, 123)
RGBA
rgba(40, 15, 123, 1)
HSL
hsl(254, 78%, 27%)
HSV
hsv(254, 88%, 48%)
CMYK
cmyk(67%, 88%, 0%, 52%)
CSS variable
--color-primary: #280F7B;
Lowercase HEX
#280f7b

Shades

Tints

Tones

Harmony

CSS snippets for #280F7B

.color-280f7b {
  color: #280F7B;
  background-color: #280F7B;
}

Frequently asked questions

What color is #280F7B?+

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

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

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