#042ccf ≈ Persian Blue
#042ccf is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 17.25% green and 81.18% blue; printed in CMYK it uses 98.07% cyan, 78.74% magenta, 0% yellow and 18.82% black. Its hue angle is 228.18°, with 96.21% saturation and 41.37% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.27:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.91.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0633 |
Shades
#042ccf mixed progressively with black.
Tints
#042ccf mixed progressively with white.
Tones
#042ccf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-042ccf {
color: #042ccf;
}
.bg-042ccf {
background-color: #042ccf;
color: #ffffff;
}
.border-042ccf {
border: 2px solid #042ccf;
}
:root {
--color-primary: #042ccf;
--color-primary-rgb: 4 44 207;
--color-primary-hsl: 228 96% 41%;
}
.gradient-042ccf {
background: linear-gradient(135deg, #042ccf, #4204cf);
}
.shadow-042ccf {
box-shadow: 0 8px 24px rgb(4 44 207 / 0.35);
}
Persian Blue
#042ccf rgb(4, 44, 207) hsl(228, 96%, 41%) Persian Blue
#cfa704 rgb(207, 167, 4) hsl(48, 96%, 41%) Metallic Gold
#cf042c rgb(207, 4, 44) hsl(348, 96%, 41%) Fire Engine Red
#2ccf04 rgb(44, 207, 4) hsl(108, 96%, 41%) Lime Green