#21288C Color

Inspect #21288C across formats, palettes, contrast and closest named color matches.

Color preview

#21288C

Color formats

HEX
#21288C
RGB
rgb(33, 40, 140)
RGBA
rgba(33, 40, 140, 1)
HSL
hsl(236, 62%, 34%)
HSV
hsv(236, 76%, 55%)
CMYK
cmyk(76%, 71%, 0%, 45%)
CSS variable
--color-primary: #21288C;
Lowercase HEX
#21288c

Shades

Tints

Tones

Harmony

CSS snippets for #21288C

.color-21288c {
  color: #21288C;
  background-color: #21288C;
}

Frequently asked questions

What color is #21288C?+

#21288C is a HEX color with RGB value rgb(33, 40, 140) and HSL value hsl(236, 62%, 34%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #21288C?+

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