#2B0E7C Color

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

Color preview

#2B0E7C

Color formats

HEX
#2B0E7C
RGB
rgb(43, 14, 124)
RGBA
rgba(43, 14, 124, 1)
HSL
hsl(256, 80%, 27%)
HSV
hsv(256, 89%, 49%)
CMYK
cmyk(65%, 89%, 0%, 51%)
CSS variable
--color-primary: #2B0E7C;
Lowercase HEX
#2b0e7c

Shades

Tints

Tones

Harmony

CSS snippets for #2B0E7C

.color-2b0e7c {
  color: #2B0E7C;
  background-color: #2B0E7C;
}

Frequently asked questions

What color is #2B0E7C?+

#2B0E7C is a HEX color with RGB value rgb(43, 14, 124) and HSL value hsl(256, 80%, 27%). Its closest CSS named color is MidnightBlue.

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

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