#0C125F Color

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

Color preview

#0C125F

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #0C125F

.color-0c125f {
  color: #0C125F;
  background-color: #0C125F;
}

Frequently asked questions

What color is #0C125F?+

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

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

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