#2d178b ≈ Persian Indigo
#2d178b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.65% red, 9.02% green and 54.51% blue; printed in CMYK it uses 67.63% cyan, 83.45% magenta, 0% yellow and 45.49% black. Its hue angle is 251.38°, with 71.6% saturation and 31.76% 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 13.07:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.91.
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.0303 |
Shades
#2d178b mixed progressively with black.
Tints
#2d178b mixed progressively with white.
Tones
#2d178b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d178b {
color: #2d178b;
}
.bg-2d178b {
background-color: #2d178b;
color: #ffffff;
}
.border-2d178b {
border: 2px solid #2d178b;
}
:root {
--color-primary: #2d178b;
--color-primary-rgb: 45 23 139;
--color-primary-hsl: 251 72% 32%;
}
.gradient-2d178b {
background: linear-gradient(135deg, #2d178b, #67178b);
}
.shadow-2d178b {
box-shadow: 0 8px 24px rgb(45 23 139 / 0.35);
}
Persian Indigo
#2d178b rgb(45, 23, 139) hsl(251, 72%, 32%) Persian Indigo
#758b17 rgb(117, 139, 23) hsl(71, 72%, 32%) Olive Drab
#8b2d17 rgb(139, 45, 23) hsl(11, 72%, 32%) Kobe
#178b2d rgb(23, 139, 45) hsl(131, 72%, 32%) Forest Green