#012162 - Midnight Melancholia
Hex color #012162 is called Midnight Melancholia. It consists of 0% red, 13% green, and 38% blue in RGB color space. In CMYK it is 99% cyan, 66% magenta, 0% yellow, and 62% black. In HSL it is 220° hue, 98% saturation, and 19% 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 | #012162 | #012162 |
| HEXA | #012162FF | #012162FF |
| RGB | 1, 33, 98 | rgb(1, 33, 98) |
| RGBA | 1, 33, 98, 1 | rgba(1, 33, 98, 1) |
| HSL | 220%, 98%, 19% | hsl(220%, 98%, 19%) |
| CMYK | 99%, 66%, 0%, 62% | cmyk(99%, 66%, 0%, 62%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 19% (dark) | — |
Negative color
The color opposite to #012162 is #FEDE9D.
Preview on black and white
As #012162 has 19% lightness, this color is dark, so it has more contrast with white.
#012162 On White Background
#012162
#012162
Text Color
This is how text looks with this color.
#012162 On Black Background
#012162
#012162
Text Color
This is how text looks with this color.
Transform color
1, 33, 98rgb(1, 33, 98)