#2B054E Color

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

Color preview

#2B054E

Color formats

HEX
#2B054E
RGB
rgb(43, 5, 78)
RGBA
rgba(43, 5, 78, 1)
HSL
hsl(271, 88%, 16%)
HSV
hsv(271, 94%, 31%)
CMYK
cmyk(45%, 94%, 0%, 69%)
CSS variable
--color-primary: #2B054E;
Lowercase HEX
#2b054e

Shades

Tints

Tones

Harmony

CSS snippets for #2B054E

.color-2b054e {
  color: #2B054E;
  background-color: #2B054E;
}

Frequently asked questions

What color is #2B054E?+

#2B054E is a HEX color with RGB value rgb(43, 5, 78) and HSL value hsl(271, 88%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #2B054E?+

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