#04074F Color

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

Color preview

#04074F

Color formats

HEX
#04074F
RGB
rgb(4, 7, 79)
RGBA
rgba(4, 7, 79, 1)
HSL
hsl(238, 90%, 16%)
HSV
hsv(238, 95%, 31%)
CMYK
cmyk(95%, 91%, 0%, 69%)
CSS variable
--color-primary: #04074F;
Lowercase HEX
#04074f

Shades

Tints

Tones

Harmony

CSS snippets for #04074F

.color-04074f {
  color: #04074F;
  background-color: #04074F;
}

Frequently asked questions

What color is #04074F?+

#04074F is a HEX color with RGB value rgb(4, 7, 79) and HSL value hsl(238, 90%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #04074F?+

The closest Tailwind color is indigo-950, available as the bg-indigo-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