#2f178f ≈ Persian Indigo
#2f178f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.43% red, 9.02% green and 56.08% blue; printed in CMYK it uses 67.13% cyan, 83.92% magenta, 0% yellow and 43.92% black. Its hue angle is 252°, with 72.29% saturation and 32.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 corporate identities. White text on this color reaches a contrast ratio of 12.8:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.032 |
Shades
#2f178f mixed progressively with black.
Tints
#2f178f mixed progressively with white.
Tones
#2f178f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f178f {
color: #2f178f;
}
.bg-2f178f {
background-color: #2f178f;
color: #ffffff;
}
.border-2f178f {
border: 2px solid #2f178f;
}
:root {
--color-primary: #2f178f;
--color-primary-rgb: 47 23 143;
--color-primary-hsl: 252 72% 33%;
}
.gradient-2f178f {
background: linear-gradient(135deg, #2f178f, #6b178f);
}
.shadow-2f178f {
box-shadow: 0 8px 24px rgb(47 23 143 / 0.35);
}
Persian Indigo
#2f178f rgb(47, 23, 143) hsl(252, 72%, 33%) Persian Indigo
#778f17 rgb(119, 143, 23) hsl(72, 72%, 33%) Olive Drab
#8f2f17 rgb(143, 47, 23) hsl(12, 72%, 33%) Kobe
#178f2f rgb(23, 143, 47) hsl(132, 72%, 33%) Forest Green