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