#2F42CD

#2f42cd ≈ Persian Blue

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

#2f42cd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 25.88% green and 80.39% blue; printed in CMYK it uses 77.07% cyan, 67.8% magenta, 0% yellow and 19.61% black. Its hue angle is 232.78°, with 62.7% saturation and 49.41% 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.55:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.75.

Description generated from the measured properties of this color.

Conversions of #2f42cd 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.0891

Readable text 7.55: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 #484e94 ≈ 0.001% of males
Protanopia #005cd1 ≈ 1.01% of males
Deuteranopia #004dca ≈ 1.27% of males
Tritanopia #006882 ≈ 0.0001% of males
Protanomaly #0053d0 ≈ 1.08% of males
Deuteranomaly #0049cb ≈ 4.63% of males
Tritanomaly #005ba5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f42cd {
  color: #2f42cd;
}
Background
.bg-2f42cd {
  background-color: #2f42cd;
  color: #ffffff;
}
Border
.border-2f42cd {
  border: 2px solid #2f42cd;
}
CSS variables
:root {
  --color-primary: #2f42cd;
  --color-primary-rgb: 47 66 205;
  --color-primary-hsl: 233 63% 49%;
}
Gradient
.gradient-2f42cd {
  background: linear-gradient(135deg, #2f42cd, #6b2fcd);
}
Colored shadow
.shadow-2f42cd {
  box-shadow: 0 8px 24px rgb(47 66 205 / 0.35);
}

Persian Blue
#2f42cd  rgb(47, 66, 205)  hsl(233, 63%, 49%)  Persian Blue
#cdba2f  rgb(205, 186, 47)  hsl(53, 63%, 49%)  Old Gold
#cd2f42  rgb(205, 47, 66)  hsl(353, 63%, 49%)  Crimson
#42cd2f  rgb(66, 205, 47)  hsl(113, 63%, 49%)  Lime Green