#21326D Color

Inspect #21326D across formats, palettes, contrast and closest named color matches.

Color preview

#21326D

Color formats

HEX
#21326D
RGB
rgb(33, 50, 109)
RGBA
rgba(33, 50, 109, 1)
HSL
hsl(227, 54%, 28%)
HSV
hsv(227, 70%, 43%)
CMYK
cmyk(70%, 54%, 0%, 57%)
CSS variable
--color-primary: #21326D;
Lowercase HEX
#21326d

Shades

Tints

Tones

Harmony

CSS snippets for #21326D

.color-21326d {
  color: #21326D;
  background-color: #21326D;
}

Frequently asked questions

What color is #21326D?+

#21326D is a HEX color with RGB value rgb(33, 50, 109) and HSL value hsl(227, 54%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #21326D?+

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