#04052F - Midnight
Hex color #04052F 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 | #04052F | #04052F |
| HEXA | #04052FFF | #04052FFF |
| RGB | 4, 5, 47 | rgb(4, 5, 47) |
| RGBA | 4, 5, 47, 1 | rgba(4, 5, 47, 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 #04052F is #FBFAD0.
Preview on black and white
As #04052F has 10% lightness, this color is dark, so it has more contrast with white.
#04052F On White Background
#04052F
#04052F
Text Color
This is how text looks with this color.
#04052F On Black Background
#04052F
#04052F
Text Color
This is how text looks with this color.
Transform color
4, 5, 47rgb(4, 5, 47)