#142878 Color

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

Color preview

#142878

Color formats

HEX
#142878
RGB
rgb(20, 40, 120)
RGBA
rgba(20, 40, 120, 1)
HSL
hsl(228, 71%, 27%)
HSV
hsv(228, 83%, 47%)
CMYK
cmyk(83%, 67%, 0%, 53%)
CSS variable
--color-primary: #142878;
Lowercase HEX
#142878

Shades

Tints

Tones

Harmony

CSS snippets for #142878

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

Frequently asked questions

What color is #142878?+

#142878 is a HEX color with RGB value rgb(20, 40, 120) and HSL value hsl(228, 71%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #142878?+

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