#04003C - Midnight Blue
Hex color #04003C is called Midnight Blue. It consists of 2% red, 0% green, and 24% blue in RGB color space. In CMYK it is 93% cyan, 100% magenta, 0% yellow, and 76% black. In HSL it is 244° hue, 100% saturation, and 12% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Midnight Blue | — |
| HEX | #04003C | #04003C |
| HEXA | #04003CFF | #04003CFF |
| RGB | 4, 0, 60 | rgb(4, 0, 60) |
| RGBA | 4, 0, 60, 1 | rgba(4, 0, 60, 1) |
| HSL | 244%, 100%, 12% | hsl(244%, 100%, 12%) |
| CMYK | 93%, 100%, 0%, 76% | cmyk(93%, 100%, 0%, 76%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #04003C is #FBFFC3.
Preview on black and white
As #04003C has 12% lightness, this color is dark, so it has more contrast with white.
#04003C On White Background
#04003C
#04003C
Text Color
This is how text looks with this color.
#04003C On Black Background
#04003C
#04003C
Text Color
This is how text looks with this color.
Transform color
4, 0, 60rgb(4, 0, 60)