#342CFC

#342cfc ≈ Han Purple

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#342cfc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 17.25% green and 98.82% blue; printed in CMYK it uses 79.37% cyan, 82.54% magenta, 0% yellow and 1.18% black. Its hue angle is 242.31°, with 97.2% saturation and 58.04% 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.21:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #342cfc into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0956

Readable text 7.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #4b49b2 ≈ 0.001% of males
Protanopia #0061ff ≈ 1.01% of males
Deuteranopia #004cf9 ≈ 1.27% of males
Tritanopia #007198 ≈ 0.0001% of males
Protanomaly #0051ff ≈ 1.08% of males
Deuteranomaly #0042fa ≈ 4.63% of males
Tritanomaly #005dc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342cfc {
  color: #342cfc;
}
Background
.bg-342cfc {
  background-color: #342cfc;
  color: #ffffff;
}
Border
.border-342cfc {
  border: 2px solid #342cfc;
}
CSS variables
:root {
  --color-primary: #342cfc;
  --color-primary-rgb: 52 44 252;
  --color-primary-hsl: 242 97% 58%;
}
Gradient
.gradient-342cfc {
  background: linear-gradient(135deg, #342cfc, #9c2cfc);
}
Colored shadow
.shadow-342cfc {
  box-shadow: 0 8px 24px rgb(52 44 252 / 0.35);
}

Han Purple
#342cfc  rgb(52, 44, 252)  hsl(242, 97%, 58%)  Han Purple
#f4fc2c  rgb(244, 252, 44)  hsl(62, 97%, 58%)  Daffodil
#fc342c  rgb(252, 52, 44)  hsl(2, 97%, 58%)  Cinnabar
#2cfc34  rgb(44, 252, 52)  hsl(122, 97%, 58%)  Lime