#0C4282 Color

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

Color preview

#0C4282

Color formats

HEX
#0C4282
RGB
rgb(12, 66, 130)
RGBA
rgba(12, 66, 130, 1)
HSL
hsl(213, 83%, 28%)
HSV
hsv(213, 91%, 51%)
CMYK
cmyk(91%, 49%, 0%, 49%)
CSS variable
--color-primary: #0C4282;
Lowercase HEX
#0c4282

Shades

Tints

Tones

Harmony

CSS snippets for #0C4282

.color-0c4282 {
  color: #0C4282;
  background-color: #0C4282;
}

Frequently asked questions

What color is #0C4282?+

#0C4282 is a HEX color with RGB value rgb(12, 66, 130) and HSL value hsl(213, 83%, 28%). Its closest CSS named color is MidnightBlue.

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

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