#142157 Color

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

Color preview

#142157

Color formats

HEX
#142157
RGB
rgb(20, 33, 87)
RGBA
rgba(20, 33, 87, 1)
HSL
hsl(228, 63%, 21%)
HSV
hsv(228, 77%, 34%)
CMYK
cmyk(77%, 62%, 0%, 66%)
CSS variable
--color-primary: #142157;
Lowercase HEX
#142157

Shades

Tints

Tones

Harmony

CSS snippets for #142157

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

Frequently asked questions

What color is #142157?+

#142157 is a HEX color with RGB value rgb(20, 33, 87) and HSL value hsl(228, 63%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #142157?+

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