#342DC7

#342dc7 ≈ Persian Blue

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

#342dc7 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 17.65% green and 78.04% blue; printed in CMYK it uses 73.87% cyan, 77.39% magenta, 0% yellow and 21.96% black. Its hue angle is 242.73°, with 63.11% saturation and 47.84% 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.95:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.24.

Description generated from the measured properties of this color.

Conversions of #342dc7 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.0673

Readable text 8.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #42408e ≈ 0.001% of males
Protanopia #0050cb ≈ 1.01% of males
Deuteranopia #0042c4 ≈ 1.27% of males
Tritanopia #005c79 ≈ 0.0001% of males
Protanomaly #0045ca ≈ 1.08% of males
Deuteranomaly #003bc5 ≈ 4.63% of males
Tritanomaly #004d9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342dc7 {
  color: #342dc7;
}
Background
.bg-342dc7 {
  background-color: #342dc7;
  color: #ffffff;
}
Border
.border-342dc7 {
  border: 2px solid #342dc7;
}
CSS variables
:root {
  --color-primary: #342dc7;
  --color-primary-rgb: 52 45 199;
  --color-primary-hsl: 243 63% 48%;
}
Gradient
.gradient-342dc7 {
  background: linear-gradient(135deg, #342dc7, #812dc7);
}
Colored shadow
.shadow-342dc7 {
  box-shadow: 0 8px 24px rgb(52 45 199 / 0.35);
}

Persian Blue
#342dc7  rgb(52, 45, 199)  hsl(243, 63%, 48%)  Persian Blue
#c0c72d  rgb(192, 199, 45)  hsl(63, 63%, 48%)  Pear
#c7342d  rgb(199, 52, 45)  hsl(3, 63%, 48%)  Persian Red
#2dc734  rgb(45, 199, 52)  hsl(123, 63%, 48%)  Lime Green