#2D048B Color

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

Color preview

#2D048B

Color formats

HEX
#2D048B
RGB
rgb(45, 4, 139)
RGBA
rgba(45, 4, 139, 1)
HSL
hsl(258, 94%, 28%)
HSV
hsv(258, 97%, 55%)
CMYK
cmyk(68%, 97%, 0%, 45%)
CSS variable
--color-primary: #2D048B;
Lowercase HEX
#2d048b

Shades

Tints

Tones

Harmony

CSS snippets for #2D048B

.color-2d048b {
  color: #2D048B;
  background-color: #2D048B;
}

Frequently asked questions

What color is #2D048B?+

#2D048B is a HEX color with RGB value rgb(45, 4, 139) and HSL value hsl(258, 94%, 28%). Its closest CSS named color is Indigo.

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

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