#170271

#170271 ≈ Navy

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#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.

Conversions of #170271 into other color spaces
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 luminance0.0142

Readable text 16.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #202020 ≈ 0.003% of males
Achromatomaly #1c174d ≈ 0.001% of males
Protanopia #002474 ≈ 1.01% of males
Deuteranopia #001a6f ≈ 1.27% of males
Tritanopia #002b40 ≈ 0.0001% of males
Protanomaly #001b73 ≈ 1.08% of males
Deuteranomaly #001370 ≈ 4.63% of males
Tritanomaly #002057 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-170271 {
  color: #170271;
}
Background
.bg-170271 {
  background-color: #170271;
  color: #ffffff;
}
Border
.border-170271 {
  border: 2px solid #170271;
}
CSS variables
:root {
  --color-primary: #170271;
  --color-primary-rgb: 23 2 113;
  --color-primary-hsl: 251 97% 23%;
}
Gradient
.gradient-170271 {
  background: linear-gradient(135deg, #170271, #4f0271);
}
Colored shadow
.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