#0C235F Color

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

Color preview

#0C235F

Color formats

HEX
#0C235F
RGB
rgb(12, 35, 95)
RGBA
rgba(12, 35, 95, 1)
HSL
hsl(223, 78%, 21%)
HSV
hsv(223, 87%, 37%)
CMYK
cmyk(87%, 63%, 0%, 63%)
CSS variable
--color-primary: #0C235F;
Lowercase HEX
#0c235f

Shades

Tints

Tones

Harmony

CSS snippets for #0C235F

.color-0c235f {
  color: #0C235F;
  background-color: #0C235F;
}

Frequently asked questions

What color is #0C235F?+

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

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

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