#21336D Color

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

Color preview

#21336D

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #21336D

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

Frequently asked questions

What color is #21336D?+

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

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

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