#22316B Color

Inspect #22316B across formats, palettes, contrast and closest named color matches.

Color preview

#22316B

Color formats

HEX
#22316B
RGB
rgb(34, 49, 107)
RGBA
rgba(34, 49, 107, 1)
HSL
hsl(228, 52%, 28%)
HSV
hsv(228, 68%, 42%)
CMYK
cmyk(68%, 54%, 0%, 58%)
CSS variable
--color-primary: #22316B;
Lowercase HEX
#22316b

Shades

Tints

Tones

Harmony

CSS snippets for #22316B

.color-22316b {
  color: #22316B;
  background-color: #22316B;
}

Frequently asked questions

What color is #22316B?+

#22316B is a HEX color with RGB value rgb(34, 49, 107) and HSL value hsl(228, 52%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #22316B?+

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