#021D6B - Midnight Melancholia
Hex color #021D6B is called Midnight Melancholia. It consists of 1% red, 11% green, and 42% blue in RGB color space. In CMYK it is 98% cyan, 73% magenta, 0% yellow, and 58% black. In HSL it is 225° hue, 96% saturation, and 21% 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 | #021D6B | #021D6B |
| HEXA | #021D6BFF | #021D6BFF |
| RGB | 2, 29, 107 | rgb(2, 29, 107) |
| RGBA | 2, 29, 107, 1 | rgba(2, 29, 107, 1) |
| HSL | 225%, 96%, 21% | hsl(225%, 96%, 21%) |
| CMYK | 98%, 73%, 0%, 58% | cmyk(98%, 73%, 0%, 58%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 21% (dark) | — |
Negative color
The color opposite to #021D6B is #FDE294.
Preview on black and white
As #021D6B has 21% lightness, this color is dark, so it has more contrast with white.
#021D6B On White Background
#021D6B
#021D6B
Text Color
This is how text looks with this color.
#021D6B On Black Background
#021D6B
#021D6B
Text Color
This is how text looks with this color.
Transform color
2, 29, 107rgb(2, 29, 107)