#0C115F Color

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

Color preview

#0C115F

Color formats

HEX
#0C115F
RGB
rgb(12, 17, 95)
RGBA
rgba(12, 17, 95, 1)
HSL
hsl(236, 78%, 21%)
HSV
hsv(236, 87%, 37%)
CMYK
cmyk(87%, 82%, 0%, 63%)
CSS variable
--color-primary: #0C115F;
Lowercase HEX
#0c115f

Shades

Tints

Tones

Harmony

CSS snippets for #0C115F

.color-0c115f {
  color: #0C115F;
  background-color: #0C115F;
}

Frequently asked questions

What color is #0C115F?+

#0C115F is a HEX color with RGB value rgb(12, 17, 95) and HSL value hsl(236, 78%, 21%). Its closest CSS named color is MidnightBlue.

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

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