#0C0387 Color

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

Color preview

#0C0387

Color formats

HEX
#0C0387
RGB
rgb(12, 3, 135)
RGBA
rgba(12, 3, 135, 1)
HSL
hsl(244, 96%, 27%)
HSV
hsv(244, 98%, 53%)
CMYK
cmyk(91%, 98%, 0%, 47%)
CSS variable
--color-primary: #0C0387;
Lowercase HEX
#0c0387

Shades

Tints

Tones

Harmony

CSS snippets for #0C0387

.color-0c0387 {
  color: #0C0387;
  background-color: #0C0387;
}

Frequently asked questions

What color is #0C0387?+

#0C0387 is a HEX color with RGB value rgb(12, 3, 135) and HSL value hsl(244, 96%, 27%). Its closest CSS named color is DarkBlue.

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

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