#342ec4 ≈ Persian Blue
#342ec4 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 76.86% blue; printed in CMYK it uses 73.47% cyan, 76.53% magenta, 0% yellow and 23.14% black. Its hue angle is 242.4°, with 61.98% saturation and 47.45% 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 9:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.95.
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.0667 |
Shades
#342ec4 mixed progressively with black.
Tints
#342ec4 mixed progressively with white.
Tones
#342ec4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342ec4 {
color: #342ec4;
}
.bg-342ec4 {
background-color: #342ec4;
color: #ffffff;
}
.border-342ec4 {
border: 2px solid #342ec4;
}
:root {
--color-primary: #342ec4;
--color-primary-rgb: 52 46 196;
--color-primary-hsl: 242 62% 47%;
}
.gradient-342ec4 {
background: linear-gradient(135deg, #342ec4, #7f2ec4);
}
.shadow-342ec4 {
box-shadow: 0 8px 24px rgb(52 46 196 / 0.35);
}
Persian Blue
#342ec4 rgb(52, 46, 196) hsl(242, 62%, 47%) Persian Blue
#bec42e rgb(190, 196, 46) hsl(62, 62%, 47%) Pear
#c4342e rgb(196, 52, 46) hsl(2, 62%, 47%) Persian Red
#2ec434 rgb(46, 196, 52) hsl(122, 62%, 47%) Lime Green