#2C40CF

#2c40cf ≈ Persian Blue

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

#2c40cf 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.1% green and 81.18% blue; printed in CMYK it uses 78.74% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 232.64°, with 64.94% saturation and 49.22% 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.66:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.56.

Description generated from the measured properties of this color.

Conversions of #2c40cf 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.0871

Readable text 7.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #474c95 ≈ 0.001% of males
Protanopia #005bd3 ≈ 1.01% of males
Deuteranopia #004bcc ≈ 1.27% of males
Tritanopia #006883 ≈ 0.0001% of males
Protanomaly #0052d2 ≈ 1.08% of males
Deuteranomaly #0047cd ≈ 4.63% of males
Tritanomaly #005aa7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c40cf {
  color: #2c40cf;
}
Background
.bg-2c40cf {
  background-color: #2c40cf;
  color: #ffffff;
}
Border
.border-2c40cf {
  border: 2px solid #2c40cf;
}
CSS variables
:root {
  --color-primary: #2c40cf;
  --color-primary-rgb: 44 64 207;
  --color-primary-hsl: 233 65% 49%;
}
Gradient
.gradient-2c40cf {
  background: linear-gradient(135deg, #2c40cf, #6a2ccf);
}
Colored shadow
.shadow-2c40cf {
  box-shadow: 0 8px 24px rgb(44 64 207 / 0.35);
}

Persian Blue
#2c40cf  rgb(44, 64, 207)  hsl(233, 65%, 49%)  Persian Blue
#cfbb2c  rgb(207, 187, 44)  hsl(53, 65%, 49%)  Old Gold
#cf2c40  rgb(207, 44, 64)  hsl(353, 65%, 49%)  Crimson
#40cf2c  rgb(64, 207, 44)  hsl(113, 65%, 49%)  Lime Green