#152166 - Pure Midnight
Hex color #152166 is called Pure Midnight. It consists of 8% red, 13% green, and 40% blue in RGB color space. In CMYK it is 79% cyan, 68% magenta, 0% yellow, and 60% black. In HSL it is 231° hue, 66% 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 | #152166 | #152166 |
| HEXA | #152166FF | #152166FF |
| RGB | 21, 33, 102 | rgb(21, 33, 102) |
| RGBA | 21, 33, 102, 1 | rgba(21, 33, 102, 1) |
| HSL | 231%, 66%, 24% | hsl(231%, 66%, 24%) |
| CMYK | 79%, 68%, 0%, 60% | cmyk(79%, 68%, 0%, 60%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 24% (dark) | — |
Negative color
The color opposite to #152166 is #EADE99.
Preview on black and white
As #152166 has 24% lightness, this color is dark, so it has more contrast with white.
#152166 On White Background
#152166
#152166
Text Color
This is how text looks with this color.
#152166 On Black Background
#152166
#152166
Text Color
This is how text looks with this color.
Transform color
21, 33, 102rgb(21, 33, 102)