#142857 Color

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

Color preview

#142857

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #142857

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

Frequently asked questions

What color is #142857?+

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

What is the closest Tailwind color to #142857?+

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