#150962 Color

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

Color preview

#150962

Color formats

HEX
#150962
RGB
rgb(21, 9, 98)
RGBA
rgba(21, 9, 98, 1)
HSL
hsl(248, 83%, 21%)
HSV
hsv(248, 91%, 38%)
CMYK
cmyk(79%, 91%, 0%, 62%)
CSS variable
--color-primary: #150962;
Lowercase HEX
#150962

Shades

Tints

Tones

Harmony

CSS snippets for #150962

.color-150962 {
  color: #150962;
  background-color: #150962;
}

Frequently asked questions

What color is #150962?+

#150962 is a HEX color with RGB value rgb(21, 9, 98) and HSL value hsl(248, 83%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #150962?+

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