#2A206D Color

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

Color preview

#2A206D

Color formats

HEX
#2A206D
RGB
rgb(42, 32, 109)
RGBA
rgba(42, 32, 109, 1)
HSL
hsl(248, 55%, 28%)
HSV
hsv(248, 71%, 43%)
CMYK
cmyk(61%, 71%, 0%, 57%)
CSS variable
--color-primary: #2A206D;
Lowercase HEX
#2a206d

Shades

Tints

Tones

Harmony

CSS snippets for #2A206D

.color-2a206d {
  color: #2A206D;
  background-color: #2A206D;
}

Frequently asked questions

What color is #2A206D?+

#2A206D is a HEX color with RGB value rgb(42, 32, 109) and HSL value hsl(248, 55%, 28%). Its closest CSS named color is MidnightBlue.

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

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