#2F40CF

#2f40cf ≈ Persian Blue

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

#2f40cf 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.1% green and 81.18% blue; printed in CMYK it uses 77.29% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 233.63°, with 62.99% saturation and 49.8% 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.62:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #2f40cf 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.0878

Readable text 7.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #484c95 ≈ 0.001% of males
Protanopia #005bd3 ≈ 1.01% of males
Deuteranopia #004ccc ≈ 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-2f40cf {
  color: #2f40cf;
}
Background
.bg-2f40cf {
  background-color: #2f40cf;
  color: #ffffff;
}
Border
.border-2f40cf {
  border: 2px solid #2f40cf;
}
CSS variables
:root {
  --color-primary: #2f40cf;
  --color-primary-rgb: 47 64 207;
  --color-primary-hsl: 234 63% 50%;
}
Gradient
.gradient-2f40cf {
  background: linear-gradient(135deg, #2f40cf, #6e2fcf);
}
Colored shadow
.shadow-2f40cf {
  box-shadow: 0 8px 24px rgb(47 64 207 / 0.35);
}

Persian Blue
#2f40cf  rgb(47, 64, 207)  hsl(234, 63%, 50%)  Persian Blue
#cfbe2f  rgb(207, 190, 47)  hsl(54, 63%, 50%)  Old Gold
#cf2f40  rgb(207, 47, 64)  hsl(354, 63%, 50%)  Crimson
#40cf2f  rgb(64, 207, 47)  hsl(114, 63%, 50%)  Lime Green