#0D315E Color

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

Color preview

#0D315E

Color formats

HEX
#0D315E
RGB
rgb(13, 49, 94)
RGBA
rgba(13, 49, 94, 1)
HSL
hsl(213, 76%, 21%)
HSV
hsv(213, 86%, 37%)
CMYK
cmyk(86%, 48%, 0%, 63%)
CSS variable
--color-primary: #0D315E;
Lowercase HEX
#0d315e

Shades

Tints

Tones

Harmony

CSS snippets for #0D315E

.color-0d315e {
  color: #0D315E;
  background-color: #0D315E;
}

Frequently asked questions

What color is #0D315E?+

#0D315E is a HEX color with RGB value rgb(13, 49, 94) and HSL value hsl(213, 76%, 21%). Its closest CSS named color is MidnightBlue.

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

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