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