#2C128E

#2c128e ≈ Phthalo Blue

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

#2c128e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.25% red, 7.06% green and 55.69% blue; printed in CMYK it uses 69.01% cyan, 87.32% magenta, 0% yellow and 44.31% black. Its hue angle is 252.58°, with 77.5% saturation and 31.37% 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.26:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 3.16.

Description generated from the measured properties of this color.

Conversions of #2c128e 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.0292

Readable text 13.26: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 #2e2763 ≈ 0.001% of males
Protanopia #003491 ≈ 1.01% of males
Deuteranopia #002b8c ≈ 1.27% of males
Tritanopia #003b53 ≈ 0.0001% of males
Protanomaly #002a90 ≈ 1.08% of males
Deuteranomaly #00238d ≈ 4.63% of males
Tritanomaly #002f6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c128e {
  color: #2c128e;
}
Background
.bg-2c128e {
  background-color: #2c128e;
  color: #ffffff;
}
Border
.border-2c128e {
  border: 2px solid #2c128e;
}
CSS variables
:root {
  --color-primary: #2c128e;
  --color-primary-rgb: 44 18 142;
  --color-primary-hsl: 253 78% 31%;
}
Gradient
.gradient-2c128e {
  background: linear-gradient(135deg, #2c128e, #6a128e);
}
Colored shadow
.shadow-2c128e {
  box-shadow: 0 8px 24px rgb(44 18 142 / 0.35);
}

Phthalo Blue
#2c128e  rgb(44, 18, 142)  hsl(253, 78%, 31%)  Phthalo Blue
#748e12  rgb(116, 142, 18)  hsl(73, 78%, 31%)  Olive Drab
#8e2c12  rgb(142, 44, 18)  hsl(13, 78%, 31%)  Kobe
#128e2c  rgb(18, 142, 44)  hsl(133, 78%, 31%)  Forest Green