#0C0962 Color

Inspect #0C0962 across formats, palettes, contrast and closest named color matches.

Color preview

#0C0962

Color formats

HEX
#0C0962
RGB
rgb(12, 9, 98)
RGBA
rgba(12, 9, 98, 1)
HSL
hsl(242, 83%, 21%)
HSV
hsv(242, 91%, 38%)
CMYK
cmyk(88%, 91%, 0%, 62%)
CSS variable
--color-primary: #0C0962;
Lowercase HEX
#0c0962

Shades

Tints

Tones

Harmony

CSS snippets for #0C0962

.color-0c0962 {
  color: #0C0962;
  background-color: #0C0962;
}

Frequently asked questions

What color is #0C0962?+

#0C0962 is a HEX color with RGB value rgb(12, 9, 98) and HSL value hsl(242, 83%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #0C0962?+

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