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