#021E64 - Midnight Melancholia
Hex color #021E64 is called Midnight Melancholia. It consists of 1% red, 12% green, and 39% blue in RGB color space. In CMYK it is 98% cyan, 70% magenta, 0% yellow, and 61% black. In HSL it is 223° hue, 96% saturation, and 20% 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 Melancholia | — |
| HEX | #021E64 | #021E64 |
| HEXA | #021E64FF | #021E64FF |
| RGB | 2, 30, 100 | rgb(2, 30, 100) |
| RGBA | 2, 30, 100, 1 | rgba(2, 30, 100, 1) |
| HSL | 223%, 96%, 20% | hsl(223%, 96%, 20%) |
| CMYK | 98%, 70%, 0%, 61% | cmyk(98%, 70%, 0%, 61%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 20% (dark) | — |
Negative color
The color opposite to #021E64 is #FDE19B.
Preview on black and white
As #021E64 has 20% lightness, this color is dark, so it has more contrast with white.
#021E64 On White Background
#021E64
#021E64
Text Color
This is how text looks with this color.
#021E64 On Black Background
#021E64
#021E64
Text Color
This is how text looks with this color.
Transform color
2, 30, 100rgb(2, 30, 100)