#0342cf ≈ Persian Blue
#0342cf is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 25.88% green and 81.18% blue; printed in CMYK it uses 98.55% cyan, 68.12% magenta, 0% yellow and 18.82% black. Its hue angle is 221.47°, with 97.14% saturation and 41.18% 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 7.82:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.57.
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.0842 |
Shades
#0342cf mixed progressively with black.
Tints
#0342cf mixed progressively with white.
Tones
#0342cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0342cf {
color: #0342cf;
}
.bg-0342cf {
background-color: #0342cf;
color: #ffffff;
}
.border-0342cf {
border: 2px solid #0342cf;
}
:root {
--color-primary: #0342cf;
--color-primary-rgb: 3 66 207;
--color-primary-hsl: 221 97% 41%;
}
.gradient-0342cf {
background: linear-gradient(135deg, #0342cf, #2a03cf);
}
.shadow-0342cf {
box-shadow: 0 8px 24px rgb(3 66 207 / 0.35);
}
Persian Blue
#0342cf rgb(3, 66, 207) hsl(221, 97%, 41%) Persian Blue
#cf9003 rgb(207, 144, 3) hsl(41, 97%, 41%) Gamboge
#cf0342 rgb(207, 3, 66) hsl(341, 97%, 41%) Cardinal
#42cf03 rgb(66, 207, 3) hsl(101, 97%, 41%) Lime Green