#21306E Color

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

Color preview

#21306E

Color formats

HEX
#21306E
RGB
rgb(33, 48, 110)
RGBA
rgba(33, 48, 110, 1)
HSL
hsl(228, 54%, 28%)
HSV
hsv(228, 70%, 43%)
CMYK
cmyk(70%, 56%, 0%, 57%)
CSS variable
--color-primary: #21306E;
Lowercase HEX
#21306e

Shades

Tints

Tones

Harmony

CSS snippets for #21306E

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

Frequently asked questions

What color is #21306E?+

#21306E is a HEX color with RGB value rgb(33, 48, 110) and HSL value hsl(228, 54%, 28%). Its closest CSS named color is MidnightBlue.

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

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