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