#2E138B

#2e138b ≈ Persian Indigo

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

#2e138b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 7.45% green and 54.51% blue; printed in CMYK it uses 66.91% cyan, 86.33% magenta, 0% yellow and 45.49% black. Its hue angle is 253.5°, with 75.95% saturation and 30.98% 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.27:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #2e138b into other color spaces
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 luminance0.0291

Readable text 13.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #2f2761 ≈ 0.001% of males
Protanopia #00348e ≈ 1.01% of males
Deuteranopia #002b89 ≈ 1.27% of males
Tritanopia #003a51 ≈ 0.0001% of males
Protanomaly #002a8d ≈ 1.08% of males
Deuteranomaly #00238a ≈ 4.63% of males
Tritanomaly #0c2e6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e138b {
  color: #2e138b;
}
Background
.bg-2e138b {
  background-color: #2e138b;
  color: #ffffff;
}
Border
.border-2e138b {
  border: 2px solid #2e138b;
}
CSS variables
:root {
  --color-primary: #2e138b;
  --color-primary-rgb: 46 19 139;
  --color-primary-hsl: 254 76% 31%;
}
Gradient
.gradient-2e138b {
  background: linear-gradient(135deg, #2e138b, #6a138b);
}
Colored shadow
.shadow-2e138b {
  box-shadow: 0 8px 24px rgb(46 19 139 / 0.35);
}

Persian Indigo
#2e138b  rgb(46, 19, 139)  hsl(254, 76%, 31%)  Persian Indigo
#708b13  rgb(112, 139, 19)  hsl(74, 76%, 31%)  Olive Drab
#8b2e13  rgb(139, 46, 19)  hsl(14, 76%, 31%)  Kobe
#138b2e  rgb(19, 139, 46)  hsl(134, 76%, 31%)  Forest Green