#2A034F Color

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

Color preview

#2A034F

Color formats

HEX
#2A034F
RGB
rgb(42, 3, 79)
RGBA
rgba(42, 3, 79, 1)
HSL
hsl(271, 93%, 16%)
HSV
hsv(271, 96%, 31%)
CMYK
cmyk(47%, 96%, 0%, 69%)
CSS variable
--color-primary: #2A034F;
Lowercase HEX
#2a034f

Shades

Tints

Tones

Harmony

CSS snippets for #2A034F

.color-2a034f {
  color: #2A034F;
  background-color: #2A034F;
}

Frequently asked questions

What color is #2A034F?+

#2A034F is a HEX color with RGB value rgb(42, 3, 79) and HSL value hsl(271, 93%, 16%). Its closest CSS named color is MidnightBlue.

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

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