#20226E Color

Inspect #20226E across formats, palettes, contrast and closest named color matches.

Color preview

#20226E

Color formats

HEX
#20226E
RGB
rgb(32, 34, 110)
RGBA
rgba(32, 34, 110, 1)
HSL
hsl(238, 55%, 28%)
HSV
hsv(238, 71%, 43%)
CMYK
cmyk(71%, 69%, 0%, 57%)
CSS variable
--color-primary: #20226E;
Lowercase HEX
#20226e

Shades

Tints

Tones

Harmony

CSS snippets for #20226E

.color-20226e {
  color: #20226E;
  background-color: #20226E;
}

Frequently asked questions

What color is #20226E?+

#20226E is a HEX color with RGB value rgb(32, 34, 110) and HSL value hsl(238, 55%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #20226E?+

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