#1D0862 Color

Inspect #1D0862 across formats, palettes, contrast and closest named color matches.

Color preview

#1D0862

Color formats

HEX
#1D0862
RGB
rgb(29, 8, 98)
RGBA
rgba(29, 8, 98, 1)
HSL
hsl(254, 85%, 21%)
HSV
hsv(254, 92%, 38%)
CMYK
cmyk(70%, 92%, 0%, 62%)
CSS variable
--color-primary: #1D0862;
Lowercase HEX
#1d0862

Shades

Tints

Tones

Harmony

CSS snippets for #1D0862

.color-1d0862 {
  color: #1D0862;
  background-color: #1D0862;
}

Frequently asked questions

What color is #1D0862?+

#1D0862 is a HEX color with RGB value rgb(29, 8, 98) and HSL value hsl(254, 85%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #1D0862?+

The closest Tailwind color is violet-950, available as the bg-violet-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