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