#342EC5

#342ec5 ≈ Persian Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#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.

Conversions of #342ec5 into other color spaces
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 luminance0.0672

Readable text 8.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #42408c ≈ 0.001% of males
Protanopia #0050c9 ≈ 1.01% of males
Deuteranopia #0042c2 ≈ 1.27% of males
Tritanopia #005b78 ≈ 0.0001% of males
Protanomaly #0045c8 ≈ 1.08% of males
Deuteranomaly #003bc3 ≈ 4.63% of males
Tritanomaly #004d9d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342ec5 {
  color: #342ec5;
}
Background
.bg-342ec5 {
  background-color: #342ec5;
  color: #ffffff;
}
Border
.border-342ec5 {
  border: 2px solid #342ec5;
}
CSS variables
:root {
  --color-primary: #342ec5;
  --color-primary-rgb: 52 46 197;
  --color-primary-hsl: 242 62% 48%;
}
Gradient
.gradient-342ec5 {
  background: linear-gradient(135deg, #342ec5, #7f2ec5);
}
Colored shadow
.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