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