#342FFE

#342ffe ≈ Han Purple

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

#342ffe is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 18.43% green and 99.61% blue; printed in CMYK it uses 79.53% cyan, 81.5% magenta, 0% yellow and 0.39% black. Its hue angle is 241.45°, with 99.04% saturation and 59.02% 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.04:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #342ffe 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.0992

Readable text 7.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #4d4bb4 ≈ 0.001% of males
Protanopia #0063ff ≈ 1.01% of males
Deuteranopia #004efb ≈ 1.27% of males
Tritanopia #00739a ≈ 0.0001% of males
Protanomaly #0053ff ≈ 1.08% of males
Deuteranomaly #0043fc ≈ 4.63% of males
Tritanomaly #005fca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342ffe {
  color: #342ffe;
}
Background
.bg-342ffe {
  background-color: #342ffe;
  color: #ffffff;
}
Border
.border-342ffe {
  border: 2px solid #342ffe;
}
CSS variables
:root {
  --color-primary: #342ffe;
  --color-primary-rgb: 52 47 254;
  --color-primary-hsl: 241 99% 59%;
}
Gradient
.gradient-342ffe {
  background: linear-gradient(135deg, #342ffe, #9c2ffe);
}
Colored shadow
.shadow-342ffe {
  box-shadow: 0 8px 24px rgb(52 47 254 / 0.35);
}

Han Purple
#342ffe  rgb(52, 47, 254)  hsl(241, 99%, 59%)  Han Purple
#f9fe2f  rgb(249, 254, 47)  hsl(61, 99%, 59%)  Daffodil
#fe342f  rgb(254, 52, 47)  hsl(1, 99%, 59%)  Cinnabar
#2ffe34  rgb(47, 254, 52)  hsl(121, 99%, 59%)  Lime