#042D67 Color

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

Color preview

#042D67

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #042D67

.color-042d67 {
  color: #042D67;
  background-color: #042D67;
}

Frequently asked questions

What color is #042D67?+

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

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

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