#2A309B Color

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

Color preview

#2A309B

Color formats

HEX
#2A309B
RGB
rgb(42, 48, 155)
RGBA
rgba(42, 48, 155, 1)
HSL
hsl(237, 57%, 39%)
HSV
hsv(237, 73%, 61%)
CMYK
cmyk(73%, 69%, 0%, 39%)
CSS variable
--color-primary: #2A309B;
Lowercase HEX
#2a309b

Shades

Tints

Tones

Harmony

CSS snippets for #2A309B

.color-2a309b {
  color: #2A309B;
  background-color: #2A309B;
}

Frequently asked questions

What color is #2A309B?+

#2A309B is a HEX color with RGB value rgb(42, 48, 155) and HSL value hsl(237, 57%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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