#1f42e2 ≈ Persian Blue
#1f42e2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.16% red, 25.88% green and 88.63% blue; printed in CMYK it uses 86.28% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 229.23°, with 77.08% 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.15:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.67.
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.0968 |
Shades
#1f42e2 mixed progressively with black.
Tints
#1f42e2 mixed progressively with white.
Tones
#1f42e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f42e2 {
color: #1f42e2;
}
.bg-1f42e2 {
background-color: #1f42e2;
color: #ffffff;
}
.border-1f42e2 {
border: 2px solid #1f42e2;
}
:root {
--color-primary: #1f42e2;
--color-primary-rgb: 31 66 226;
--color-primary-hsl: 229 77% 50%;
}
.gradient-1f42e2 {
background: linear-gradient(135deg, #1f42e2, #5d1fe2);
}
.shadow-1f42e2 {
box-shadow: 0 8px 24px rgb(31 66 226 / 0.35);
}
Persian Blue
#1f42e2 rgb(31, 66, 226) hsl(229, 77%, 50%) Persian Blue
#e2bf1f rgb(226, 191, 31) hsl(49, 77%, 50%) Jonquil
#e21f42 rgb(226, 31, 66) hsl(349, 77%, 50%) Crimson
#42e21f rgb(66, 226, 31) hsl(109, 77%, 50%) Lime Green