#2F40D2

#2f40d2 ≈ Persian Blue

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

#2f40d2 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 82.35% blue; printed in CMYK it uses 77.62% cyan, 69.52% magenta, 0% yellow and 17.65% black. Its hue angle is 233.74°, with 64.43% saturation and 50.39% 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.54:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.01.

Description generated from the measured properties of this color.

Conversions of #2f40d2 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.0892

Readable text 7.54: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 #484d97 ≈ 0.001% of males
Protanopia #005cd6 ≈ 1.01% of males
Deuteranopia #004ccf ≈ 1.27% of males
Tritanopia #006984 ≈ 0.0001% of males
Protanomaly #0052d5 ≈ 1.08% of males
Deuteranomaly #0048d0 ≈ 4.63% of males
Tritanomaly #005ba9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f40d2 {
  color: #2f40d2;
}
Background
.bg-2f40d2 {
  background-color: #2f40d2;
  color: #ffffff;
}
Border
.border-2f40d2 {
  border: 2px solid #2f40d2;
}
CSS variables
:root {
  --color-primary: #2f40d2;
  --color-primary-rgb: 47 64 210;
  --color-primary-hsl: 234 64% 50%;
}
Gradient
.gradient-2f40d2 {
  background: linear-gradient(135deg, #2f40d2, #6f2fd2);
}
Colored shadow
.shadow-2f40d2 {
  box-shadow: 0 8px 24px rgb(47 64 210 / 0.35);
}

Persian Blue
#2f40d2  rgb(47, 64, 210)  hsl(234, 64%, 50%)  Persian Blue
#d2c12f  rgb(210, 193, 47)  hsl(54, 64%, 50%)  Old Gold
#d22f40  rgb(210, 47, 64)  hsl(354, 64%, 50%)  Crimson
#40d22f  rgb(64, 210, 47)  hsl(114, 64%, 50%)  Lime Green