#04268B Color

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

Color preview

#04268B

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #04268B

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

Frequently asked questions

What color is #04268B?+

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

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

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