#022268 - Midnight Melancholia
Hex color #022268 is called Midnight Melancholia. It consists of 1% red, 13% green, and 41% blue in RGB color space. In CMYK it is 98% cyan, 67% magenta, 0% yellow, and 59% black. In HSL it is 221° 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 | #022268 | #022268 |
| HEXA | #022268FF | #022268FF |
| RGB | 2, 34, 104 | rgb(2, 34, 104) |
| RGBA | 2, 34, 104, 1 | rgba(2, 34, 104, 1) |
| HSL | 221%, 96%, 21% | hsl(221%, 96%, 21%) |
| CMYK | 98%, 67%, 0%, 59% | cmyk(98%, 67%, 0%, 59%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 21% (dark) | — |
Negative color
The color opposite to #022268 is #FDDD97.
Preview on black and white
As #022268 has 21% lightness, this color is dark, so it has more contrast with white.
#022268 On White Background
#022268
#022268
Text Color
This is how text looks with this color.
#022268 On Black Background
#022268
#022268
Text Color
This is how text looks with this color.
Transform color
2, 34, 104rgb(2, 34, 104)