#281277 Color

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

Color preview

#281277

Color formats

HEX
#281277
RGB
rgb(40, 18, 119)
RGBA
rgba(40, 18, 119, 1)
HSL
hsl(253, 74%, 27%)
HSV
hsv(253, 85%, 47%)
CMYK
cmyk(66%, 85%, 0%, 53%)
CSS variable
--color-primary: #281277;
Lowercase HEX
#281277

Shades

Tints

Tones

Harmony

CSS snippets for #281277

.color-281277 {
  color: #281277;
  background-color: #281277;
}

Frequently asked questions

What color is #281277?+

#281277 is a HEX color with RGB value rgb(40, 18, 119) and HSL value hsl(253, 74%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #281277?+

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