#12006B Color

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

Color preview

#12006B

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #12006B

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

Frequently asked questions

What color is #12006B?+

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

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

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