#22006B Color

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

Color preview

#22006B

Color formats

HEX
#22006B
RGB
rgb(34, 0, 107)
RGBA
rgba(34, 0, 107, 1)
HSL
hsl(259, 100%, 21%)
HSV
hsv(259, 100%, 42%)
CMYK
cmyk(68%, 100%, 0%, 58%)
CSS variable
--color-primary: #22006B;
Lowercase HEX
#22006b

Shades

Tints

Tones

Harmony

CSS snippets for #22006B

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

Frequently asked questions

What color is #22006B?+

#22006B is a HEX color with RGB value rgb(34, 0, 107) and HSL value hsl(259, 100%, 21%). Its closest CSS named color is MidnightBlue.

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

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