#0D158C Color

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

Color preview

#0D158C

Color formats

HEX
#0D158C
RGB
rgb(13, 21, 140)
RGBA
rgba(13, 21, 140, 1)
HSL
hsl(236, 83%, 30%)
HSV
hsv(236, 91%, 55%)
CMYK
cmyk(91%, 85%, 0%, 45%)
CSS variable
--color-primary: #0D158C;
Lowercase HEX
#0d158c

Shades

Tints

Tones

Harmony

CSS snippets for #0D158C

.color-0d158c {
  color: #0D158C;
  background-color: #0D158C;
}

Frequently asked questions

What color is #0D158C?+

#0D158C is a HEX color with RGB value rgb(13, 21, 140) and HSL value hsl(236, 83%, 30%). Its closest CSS named color is DarkBlue.

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

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