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