#2f40cf ≈ Persian Blue
#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.
| 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 luminance | 0.0878 |
Shades
#2f40cf mixed progressively with black.
Tints
#2f40cf mixed progressively with white.
Tones
#2f40cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f40cf {
color: #2f40cf;
}
.bg-2f40cf {
background-color: #2f40cf;
color: #ffffff;
}
.border-2f40cf {
border: 2px solid #2f40cf;
}
:root {
--color-primary: #2f40cf;
--color-primary-rgb: 47 64 207;
--color-primary-hsl: 234 63% 50%;
}
.gradient-2f40cf {
background: linear-gradient(135deg, #2f40cf, #6e2fcf);
}
.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