#04288B Color

Inspect #04288B across formats, palettes, contrast and closest named color matches.

Color preview

#04288B

Color formats

HEX
#04288B
RGB
rgb(4, 40, 139)
RGBA
rgba(4, 40, 139, 1)
HSL
hsl(224, 94%, 28%)
HSV
hsv(224, 97%, 55%)
CMYK
cmyk(97%, 71%, 0%, 45%)
CSS variable
--color-primary: #04288B;
Lowercase HEX
#04288b

Shades

Tints

Tones

Harmony

CSS snippets for #04288B

.color-04288b {
  color: #04288B;
  background-color: #04288B;
}

Frequently asked questions

What color is #04288B?+

#04288B is a HEX color with RGB value rgb(4, 40, 139) and HSL value hsl(224, 94%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #04288B?+

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