#042D66 Color

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

Color preview

#042D66

Color formats

HEX
#042D66
RGB
rgb(4, 45, 102)
RGBA
rgba(4, 45, 102, 1)
HSL
hsl(215, 92%, 21%)
HSV
hsv(215, 96%, 40%)
CMYK
cmyk(96%, 56%, 0%, 60%)
CSS variable
--color-primary: #042D66;
Lowercase HEX
#042d66

Shades

Tints

Tones

Harmony

CSS snippets for #042D66

.color-042d66 {
  color: #042D66;
  background-color: #042D66;
}

Frequently asked questions

What color is #042D66?+

#042D66 is a HEX color with RGB value rgb(4, 45, 102) and HSL value hsl(215, 92%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #042D66?+

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