#04052E - Midnight
Hex color #04052E is called Midnight. It consists of 2% red, 2% green, and 18% blue in RGB color space. In CMYK it is 91% cyan, 89% magenta, 0% yellow, and 82% black. In HSL it is 239° hue, 84% saturation, and 10% 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 | — |
| HEX | #04052E | #04052E |
| HEXA | #04052EFF | #04052EFF |
| RGB | 4, 5, 46 | rgb(4, 5, 46) |
| RGBA | 4, 5, 46, 1 | rgba(4, 5, 46, 1) |
| HSL | 239%, 84%, 10% | hsl(239%, 84%, 10%) |
| CMYK | 91%, 89%, 0%, 82% | cmyk(91%, 89%, 0%, 82%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 10% (dark) | — |
Negative color
The color opposite to #04052E is #FBFAD1.
Preview on black and white
As #04052E has 10% lightness, this color is dark, so it has more contrast with white.
#04052E On White Background
#04052E
#04052E
Text Color
This is how text looks with this color.
#04052E On Black Background
#04052E
#04052E
Text Color
This is how text looks with this color.
Transform color
4, 5, 46rgb(4, 5, 46)