#2f40a6 ≈ Persian Blue
#2f40a6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 18.43% red, 25.1% green and 65.1% blue; printed in CMYK it uses 71.69% cyan, 61.45% magenta, 0% yellow and 34.9% black. Its hue angle is 231.43°, with 55.87% saturation and 41.76% 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 8.73:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.61.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0702 |
Shades
#2f40a6 mixed progressively with black.
Tints
#2f40a6 mixed progressively with white.
Tones
#2f40a6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f40a6 {
color: #2f40a6;
}
.bg-2f40a6 {
background-color: #2f40a6;
color: #ffffff;
}
.border-2f40a6 {
border: 2px solid #2f40a6;
}
:root {
--color-primary: #2f40a6;
--color-primary-rgb: 47 64 166;
--color-primary-hsl: 231 56% 42%;
}
.gradient-2f40a6 {
background: linear-gradient(135deg, #2f40a6, #592fa6);
}
.shadow-2f40a6 {
box-shadow: 0 8px 24px rgb(47 64 166 / 0.35);
}
Persian Blue
#2f40a6 rgb(47, 64, 166) hsl(231, 56%, 42%) Persian Blue
#a6952f rgb(166, 149, 47) hsl(51, 56%, 42%) Brass
#a62f40 rgb(166, 47, 64) hsl(351, 56%, 42%) Vivid Burgundy
#40a62f rgb(64, 166, 47) hsl(111, 56%, 42%) Kelly Green