#042ccd ≈ Persian Blue
#042ccd 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 80.39% blue; printed in CMYK it uses 98.05% cyan, 78.54% magenta, 0% yellow and 19.61% black. Its hue angle is 228.06°, with 96.17% saturation and 40.98% 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.35:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.79.
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.0623 |
Shades
#042ccd mixed progressively with black.
Tints
#042ccd mixed progressively with white.
Tones
#042ccd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-042ccd {
color: #042ccd;
}
.bg-042ccd {
background-color: #042ccd;
color: #ffffff;
}
.border-042ccd {
border: 2px solid #042ccd;
}
:root {
--color-primary: #042ccd;
--color-primary-rgb: 4 44 205;
--color-primary-hsl: 228 96% 41%;
}
.gradient-042ccd {
background: linear-gradient(135deg, #042ccd, #4104cd);
}
.shadow-042ccd {
box-shadow: 0 8px 24px rgb(4 44 205 / 0.35);
}
Persian Blue
#042ccd rgb(4, 44, 205) hsl(228, 96%, 41%) Persian Blue
#cda504 rgb(205, 165, 4) hsl(48, 96%, 41%) Metallic Gold
#cd042c rgb(205, 4, 44) hsl(348, 96%, 41%) Fire Engine Red
#2ccd04 rgb(44, 205, 4) hsl(108, 96%, 41%) Lime Green