#2C42CE

#2c42ce ≈ Persian Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#2c42ce is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.25% red, 25.88% green and 80.78% blue; printed in CMYK it uses 78.64% cyan, 67.96% magenta, 0% yellow and 19.22% black. Its hue angle is 231.85°, with 64.8% saturation and 49.02% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 7.56:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.74.

Description generated from the measured properties of this color.

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

Readable text 7.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #474d95 ≈ 0.001% of males
Protanopia #005cd2 ≈ 1.01% of males
Deuteranopia #004ccb ≈ 1.27% of males
Tritanopia #006883 ≈ 0.0001% of males
Protanomaly #0053d1 ≈ 1.08% of males
Deuteranomaly #0048cc ≈ 4.63% of males
Tritanomaly #005ba6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c42ce {
  color: #2c42ce;
}
Background
.bg-2c42ce {
  background-color: #2c42ce;
  color: #ffffff;
}
Border
.border-2c42ce {
  border: 2px solid #2c42ce;
}
CSS variables
:root {
  --color-primary: #2c42ce;
  --color-primary-rgb: 44 66 206;
  --color-primary-hsl: 232 65% 49%;
}
Gradient
.gradient-2c42ce {
  background: linear-gradient(135deg, #2c42ce, #672cce);
}
Colored shadow
.shadow-2c42ce {
  box-shadow: 0 8px 24px rgb(44 66 206 / 0.35);
}

Persian Blue
#2c42ce  rgb(44, 66, 206)  hsl(232, 65%, 49%)  Persian Blue
#ceb82c  rgb(206, 184, 44)  hsl(52, 65%, 49%)  Old Gold
#ce2c42  rgb(206, 44, 66)  hsl(352, 65%, 49%)  Crimson
#42ce2c  rgb(66, 206, 44)  hsl(112, 65%, 49%)  Lime Green