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