#020229 - Midnight
Hex color #020229 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 8% 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 | #020229 | #020229 |
| HEXA | #020229FF | #020229FF |
| RGB | 2, 2, 41 | rgb(2, 2, 41) |
| RGBA | 2, 2, 41, 1 | rgba(2, 2, 41, 1) |
| HSL | 240%, 91%, 8% | hsl(240%, 91%, 8%) |
| CMYK | 95%, 95%, 0%, 84% | cmyk(95%, 95%, 0%, 84%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 8% (dark) | — |
Negative color
The color opposite to #020229 is #FDFDD6.
Preview on black and white
As #020229 has 8% lightness, this color is dark, so it has more contrast with white.
#020229 On White Background
#020229
#020229
Text Color
This is how text looks with this color.
#020229 On Black Background
#020229
#020229
Text Color
This is how text looks with this color.
Transform color
2, 2, 41rgb(2, 2, 41)