#171F62 - Pure Midnight
Hex color #171F62 is called Pure Midnight. It consists of 9% red, 12% green, and 38% blue in RGB color space. In CMYK it is 77% cyan, 68% magenta, 0% yellow, and 62% black. In HSL it is 234° hue, 62% 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 | #171F62 | #171F62 |
| HEXA | #171F62FF | #171F62FF |
| RGB | 23, 31, 98 | rgb(23, 31, 98) |
| RGBA | 23, 31, 98, 1 | rgba(23, 31, 98, 1) |
| HSL | 234%, 62%, 24% | hsl(234%, 62%, 24%) |
| CMYK | 77%, 68%, 0%, 62% | cmyk(77%, 68%, 0%, 62%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 24% (dark) | — |
Negative color
The color opposite to #171F62 is #E8E09D.
Preview on black and white
As #171F62 has 24% lightness, this color is dark, so it has more contrast with white.
#171F62 On White Background
#171F62
#171F62
Text Color
This is how text looks with this color.
#171F62 On Black Background
#171F62
#171F62
Text Color
This is how text looks with this color.
Transform color
23, 31, 98rgb(23, 31, 98)