#04064F Color

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

Color preview

#04064F

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #04064F

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

Frequently asked questions

What color is #04064F?+

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

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

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