#0C295F Color

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

Color preview

#0C295F

Color formats

HEX
#0C295F
RGB
rgb(12, 41, 95)
RGBA
rgba(12, 41, 95, 1)
HSL
hsl(219, 78%, 21%)
HSV
hsv(219, 87%, 37%)
CMYK
cmyk(87%, 57%, 0%, 63%)
CSS variable
--color-primary: #0C295F;
Lowercase HEX
#0c295f

Shades

Tints

Tones

Harmony

CSS snippets for #0C295F

.color-0c295f {
  color: #0C295F;
  background-color: #0C295F;
}

Frequently asked questions

What color is #0C295F?+

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

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

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