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