#342ec5 ≈ Persian Blue
#342ec5 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 18.04% green and 77.25% blue; printed in CMYK it uses 73.6% cyan, 76.65% magenta, 0% yellow and 22.75% black. Its hue angle is 242.38°, with 62.14% saturation and 47.65% 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.96:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.99.
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.0672 |
Shades
#342ec5 mixed progressively with black.
Tints
#342ec5 mixed progressively with white.
Tones
#342ec5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342ec5 {
color: #342ec5;
}
.bg-342ec5 {
background-color: #342ec5;
color: #ffffff;
}
.border-342ec5 {
border: 2px solid #342ec5;
}
:root {
--color-primary: #342ec5;
--color-primary-rgb: 52 46 197;
--color-primary-hsl: 242 62% 48%;
}
.gradient-342ec5 {
background: linear-gradient(135deg, #342ec5, #7f2ec5);
}
.shadow-342ec5 {
box-shadow: 0 8px 24px rgb(52 46 197 / 0.35);
}
Persian Blue
#342ec5 rgb(52, 46, 197) hsl(242, 62%, 48%) Persian Blue
#bfc52e rgb(191, 197, 46) hsl(62, 62%, 48%) Pear
#c5342e rgb(197, 52, 46) hsl(2, 62%, 48%) Persian Red
#2ec534 rgb(46, 197, 52) hsl(122, 62%, 48%) Lime Green