#0C335F Color

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

Color preview

#0C335F

Color formats

HEX
#0C335F
RGB
rgb(12, 51, 95)
RGBA
rgba(12, 51, 95, 1)
HSL
hsl(212, 78%, 21%)
HSV
hsv(212, 87%, 37%)
CMYK
cmyk(87%, 46%, 0%, 63%)
CSS variable
--color-primary: #0C335F;
Lowercase HEX
#0c335f

Shades

Tints

Tones

Harmony

CSS snippets for #0C335F

.color-0c335f {
  color: #0C335F;
  background-color: #0C335F;
}

Frequently asked questions

What color is #0C335F?+

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

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

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