#142E9A Color

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

Color preview

#142E9A

Color formats

HEX
#142E9A
RGB
rgb(20, 46, 154)
RGBA
rgba(20, 46, 154, 1)
HSL
hsl(228, 77%, 34%)
HSV
hsv(228, 87%, 60%)
CMYK
cmyk(87%, 70%, 0%, 40%)
CSS variable
--color-primary: #142E9A;
Lowercase HEX
#142e9a

Shades

Tints

Tones

Harmony

CSS snippets for #142E9A

.color-142e9a {
  color: #142E9A;
  background-color: #142E9A;
}

Frequently asked questions

What color is #142E9A?+

#142E9A is a HEX color with RGB value rgb(20, 46, 154) and HSL value hsl(228, 77%, 34%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #142E9A?+

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