#170271 ≈ Navy
#170271 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 0.78% green and 44.31% blue; printed in CMYK it uses 79.65% cyan, 98.23% magenta, 0% yellow and 55.69% black. Its hue angle is 251.35°, with 96.52% saturation and 22.55% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.36:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 2.45.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0142 |
Shades
#170271 mixed progressively with black.
Tints
#170271 mixed progressively with white.
Tones
#170271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-170271 {
color: #170271;
}
.bg-170271 {
background-color: #170271;
color: #ffffff;
}
.border-170271 {
border: 2px solid #170271;
}
:root {
--color-primary: #170271;
--color-primary-rgb: 23 2 113;
--color-primary-hsl: 251 97% 23%;
}
.gradient-170271 {
background: linear-gradient(135deg, #170271, #4f0271);
}
.shadow-170271 {
box-shadow: 0 8px 24px rgb(23 2 113 / 0.35);
}
Navy
#170271 rgb(23, 2, 113) hsl(251, 97%, 23%) Navy
#5c7102 rgb(92, 113, 2) hsl(71, 97%, 23%) Avocado
#711702 rgb(113, 23, 2) hsl(11, 97%, 23%) Maroon
#027117 rgb(2, 113, 23) hsl(131, 97%, 23%) Pakistan Green