#04023B - Midnight Blue
Hex color #04023B 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 | #04023B | #04023B |
| HEXA | #04023BFF | #04023BFF |
| RGB | 4, 2, 59 | rgb(4, 2, 59) |
| RGBA | 4, 2, 59, 1 | rgba(4, 2, 59, 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 #04023B is #FBFDC4.
Preview on black and white
As #04023B has 12% lightness, this color is dark, so it has more contrast with white.
#04023B On White Background
#04023B
#04023B
Text Color
This is how text looks with this color.
#04023B On Black Background
#04023B
#04023B
Text Color
This is how text looks with this color.
Transform color
4, 2, 59rgb(4, 2, 59)