#152D56 Color

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

Color preview

#152D56

Color formats

HEX
#152D56
RGB
rgb(21, 45, 86)
RGBA
rgba(21, 45, 86, 1)
HSL
hsl(218, 61%, 21%)
HSV
hsv(218, 76%, 34%)
CMYK
cmyk(76%, 48%, 0%, 66%)
CSS variable
--color-primary: #152D56;
Lowercase HEX
#152d56

Shades

Tints

Tones

Harmony

CSS snippets for #152D56

.color-152d56 {
  color: #152D56;
  background-color: #152D56;
}

Frequently asked questions

What color is #152D56?+

#152D56 is a HEX color with RGB value rgb(21, 45, 86) and HSL value hsl(218, 61%, 21%). Its closest CSS named color is MidnightBlue.

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

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