#21338C Color

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

Color preview

#21338C

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #21338C

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

Frequently asked questions

What color is #21338C?+

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

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

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