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