#04148B Color

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

Color preview

#04148B

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #04148B

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

Frequently asked questions

What color is #04148B?+

#04148B is a HEX color with RGB value rgb(4, 20, 139) and HSL value hsl(233, 94%, 28%). Its closest CSS named color is DarkBlue.

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

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