#152D99 Color

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

Color preview

#152D99

Color formats

HEX
#152D99
RGB
rgb(21, 45, 153)
RGBA
rgba(21, 45, 153, 1)
HSL
hsl(229, 76%, 34%)
HSV
hsv(229, 86%, 60%)
CMYK
cmyk(86%, 71%, 0%, 40%)
CSS variable
--color-primary: #152D99;
Lowercase HEX
#152d99

Shades

Tints

Tones

Harmony

CSS snippets for #152D99

.color-152d99 {
  color: #152D99;
  background-color: #152D99;
}

Frequently asked questions

What color is #152D99?+

#152D99 is a HEX color with RGB value rgb(21, 45, 153) and HSL value hsl(229, 76%, 34%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #152D99?+

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