#0D318C Color

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

Color preview

#0D318C

Color formats

HEX
#0D318C
RGB
rgb(13, 49, 140)
RGBA
rgba(13, 49, 140, 1)
HSL
hsl(223, 83%, 30%)
HSV
hsv(223, 91%, 55%)
CMYK
cmyk(91%, 65%, 0%, 45%)
CSS variable
--color-primary: #0D318C;
Lowercase HEX
#0d318c

Shades

Tints

Tones

Harmony

CSS snippets for #0D318C

.color-0d318c {
  color: #0D318C;
  background-color: #0D318C;
}

Frequently asked questions

What color is #0D318C?+

#0D318C is a HEX color with RGB value rgb(13, 49, 140) and HSL value hsl(223, 83%, 30%). Its closest CSS named color is MidnightBlue.

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

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