#04023A - Midnight Blue
Hex color #04023A is called Midnight Blue. It consists of 2% red, 1% green, and 23% blue in RGB color space. In CMYK it is 93% cyan, 97% magenta, 0% yellow, and 77% black. In HSL it is 242° hue, 93% 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 | #04023A | #04023A |
| HEXA | #04023AFF | #04023AFF |
| RGB | 4, 2, 58 | rgb(4, 2, 58) |
| RGBA | 4, 2, 58, 1 | rgba(4, 2, 58, 1) |
| HSL | 242%, 93%, 12% | hsl(242%, 93%, 12%) |
| CMYK | 93%, 97%, 0%, 77% | cmyk(93%, 97%, 0%, 77%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #04023A is #FBFDC5.
Preview on black and white
As #04023A has 12% lightness, this color is dark, so it has more contrast with white.
#04023A On White Background
#04023A
#04023A
Text Color
This is how text looks with this color.
#04023A On Black Background
#04023A
#04023A
Text Color
This is how text looks with this color.
Transform color
4, 2, 58rgb(4, 2, 58)