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