#2e178f ≈ Persian Indigo
#2e178f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 9.02% green and 56.08% blue; printed in CMYK it uses 67.83% cyan, 83.92% magenta, 0% yellow and 43.92% black. Its hue angle is 251.5°, 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.84:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.41.
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.0318 |
Shades
#2e178f mixed progressively with black.
Tints
#2e178f mixed progressively with white.
Tones
#2e178f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e178f {
color: #2e178f;
}
.bg-2e178f {
background-color: #2e178f;
color: #ffffff;
}
.border-2e178f {
border: 2px solid #2e178f;
}
:root {
--color-primary: #2e178f;
--color-primary-rgb: 46 23 143;
--color-primary-hsl: 252 72% 33%;
}
.gradient-2e178f {
background: linear-gradient(135deg, #2e178f, #6a178f);
}
.shadow-2e178f {
box-shadow: 0 8px 24px rgb(46 23 143 / 0.35);
}
Persian Indigo
#2e178f rgb(46, 23, 143) hsl(252, 72%, 33%) Persian Indigo
#788f17 rgb(120, 143, 23) hsl(72, 72%, 33%) Olive Drab
#8f2e17 rgb(143, 46, 23) hsl(12, 72%, 33%) Kobe
#178f2e rgb(23, 143, 46) hsl(132, 72%, 33%) Forest Green