#021A66 - Midnight Melancholia
Hex color #021A66 is called Midnight Melancholia. It consists of 1% red, 10% green, and 40% blue in RGB color space. In CMYK it is 98% cyan, 75% magenta, 0% yellow, and 60% black. In HSL it is 226° 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 | #021A66 | #021A66 |
| HEXA | #021A66FF | #021A66FF |
| RGB | 2, 26, 102 | rgb(2, 26, 102) |
| RGBA | 2, 26, 102, 1 | rgba(2, 26, 102, 1) |
| HSL | 226%, 96%, 20% | hsl(226%, 96%, 20%) |
| CMYK | 98%, 75%, 0%, 60% | cmyk(98%, 75%, 0%, 60%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 20% (dark) | — |
Negative color
The color opposite to #021A66 is #FDE599.
Preview on black and white
As #021A66 has 20% lightness, this color is dark, so it has more contrast with white.
#021A66 On White Background
#021A66
#021A66
Text Color
This is how text looks with this color.
#021A66 On Black Background
#021A66
#021A66
Text Color
This is how text looks with this color.
Transform color
2, 26, 102rgb(2, 26, 102)