#152856 Color

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

Color preview

#152856

Color formats

HEX
#152856
RGB
rgb(21, 40, 86)
RGBA
rgba(21, 40, 86, 1)
HSL
hsl(222, 61%, 21%)
HSV
hsv(222, 76%, 34%)
CMYK
cmyk(76%, 53%, 0%, 66%)
CSS variable
--color-primary: #152856;
Lowercase HEX
#152856

Shades

Tints

Tones

Harmony

CSS snippets for #152856

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

Frequently asked questions

What color is #152856?+

#152856 is a HEX color with RGB value rgb(21, 40, 86) and HSL value hsl(222, 61%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #152856?+

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