#2C187D

#2c187d ≈ Persian Indigo

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

#2c187d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.25% red, 9.41% green and 49.02% blue; printed in CMYK it uses 64.8% cyan, 80.8% magenta, 0% yellow and 50.98% black. Its hue angle is 251.88°, with 67.79% saturation and 29.22% 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 13.69:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 1.65.

Description generated from the measured properties of this color.

Conversions of #2c187d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330066
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0267

Readable text 13.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #2d2658 ≈ 0.001% of males
Protanopia #003180 ≈ 1.01% of males
Deuteranopia #002a7b ≈ 1.27% of males
Tritanopia #00364a ≈ 0.0001% of males
Protanomaly #00297f ≈ 1.08% of males
Deuteranomaly #00247c ≈ 4.63% of males
Tritanomaly #132d62 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c187d {
  color: #2c187d;
}
Background
.bg-2c187d {
  background-color: #2c187d;
  color: #ffffff;
}
Border
.border-2c187d {
  border: 2px solid #2c187d;
}
CSS variables
:root {
  --color-primary: #2c187d;
  --color-primary-rgb: 44 24 125;
  --color-primary-hsl: 252 68% 29%;
}
Gradient
.gradient-2c187d {
  background: linear-gradient(135deg, #2c187d, #5f187d);
}
Colored shadow
.shadow-2c187d {
  box-shadow: 0 8px 24px rgb(44 24 125 / 0.35);
}

Persian Indigo
#2c187d  rgb(44, 24, 125)  hsl(252, 68%, 29%)  Persian Indigo
#697d18  rgb(105, 125, 24)  hsl(72, 68%, 29%)  Avocado
#7d2c18  rgb(125, 44, 24)  hsl(12, 68%, 29%)  Kobe
#187d2c  rgb(24, 125, 44)  hsl(132, 68%, 29%)  Green