#162666 - Pure Midnight
Hex color #162666 is called Pure Midnight. It consists of 9% red, 15% green, and 40% blue in RGB color space. In CMYK it is 78% cyan, 63% magenta, 0% yellow, and 60% black. In HSL it is 228° hue, 65% saturation, and 24% 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 | Pure Midnight | — |
| HEX | #162666 | #162666 |
| HEXA | #162666FF | #162666FF |
| RGB | 22, 38, 102 | rgb(22, 38, 102) |
| RGBA | 22, 38, 102, 1 | rgba(22, 38, 102, 1) |
| HSL | 228%, 65%, 24% | hsl(228%, 65%, 24%) |
| CMYK | 78%, 63%, 0%, 60% | cmyk(78%, 63%, 0%, 60%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 24% (dark) | — |
Negative color
The color opposite to #162666 is #E9D999.
Preview on black and white
As #162666 has 24% lightness, this color is dark, so it has more contrast with white.
#162666 On White Background
#162666
#162666
Text Color
This is how text looks with this color.
#162666 On Black Background
#162666
#162666
Text Color
This is how text looks with this color.
Transform color
22, 38, 102rgb(22, 38, 102)