#2A143F Color

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

Color preview

#2A143F

Color formats

HEX
#2A143F
RGB
rgb(42, 20, 63)
RGBA
rgba(42, 20, 63, 1)
HSL
hsl(271, 52%, 16%)
HSV
hsv(271, 68%, 25%)
CMYK
cmyk(33%, 68%, 0%, 75%)
CSS variable
--color-primary: #2A143F;
Lowercase HEX
#2a143f

Shades

Tints

Tones

Harmony

CSS snippets for #2A143F

.color-2a143f {
  color: #2A143F;
  background-color: #2A143F;
}

Frequently asked questions

What color is #2A143F?+

#2A143F is a HEX color with RGB value rgb(42, 20, 63) and HSL value hsl(271, 52%, 16%). Its closest CSS named color is MidnightBlue.

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

The closest Tailwind color is indigo-950, available as the bg-indigo-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