#0C4280 Color

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

Color preview

#0C4280

Color formats

HEX
#0C4280
RGB
rgb(12, 66, 128)
RGBA
rgba(12, 66, 128, 1)
HSL
hsl(212, 83%, 27%)
HSV
hsv(212, 91%, 50%)
CMYK
cmyk(91%, 48%, 0%, 50%)
CSS variable
--color-primary: #0C4280;
Lowercase HEX
#0c4280

Shades

Tints

Tones

Harmony

CSS snippets for #0C4280

.color-0c4280 {
  color: #0C4280;
  background-color: #0C4280;
}

Frequently asked questions

What color is #0C4280?+

#0C4280 is a HEX color with RGB value rgb(12, 66, 128) and HSL value hsl(212, 83%, 27%). Its closest CSS named color is MidnightBlue.

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

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