#342AED

#342aed ≈ Han Purple

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

#342aed is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 16.47% green and 92.94% blue; printed in CMYK it uses 78.06% cyan, 82.28% magenta, 0% yellow and 7.06% black. Its hue angle is 243.08°, with 84.42% saturation and 54.71% 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.78:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.33.

Description generated from the measured properties of this color.

Conversions of #342aed 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.085

Readable text 7.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4845a8 ≈ 0.001% of males
Protanopia #005cf2 ≈ 1.01% of males
Deuteranopia #0048ea ≈ 1.27% of males
Tritanopia #006a8f ≈ 0.0001% of males
Protanomaly #004cf0 ≈ 1.08% of males
Deuteranomaly #003eeb ≈ 4.63% of males
Tritanomaly #0057bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342aed {
  color: #342aed;
}
Background
.bg-342aed {
  background-color: #342aed;
  color: #ffffff;
}
Border
.border-342aed {
  border: 2px solid #342aed;
}
CSS variables
:root {
  --color-primary: #342aed;
  --color-primary-rgb: 52 42 237;
  --color-primary-hsl: 243 84% 55%;
}
Gradient
.gradient-342aed {
  background: linear-gradient(135deg, #342aed, #962aed);
}
Colored shadow
.shadow-342aed {
  box-shadow: 0 8px 24px rgb(52 42 237 / 0.35);
}

Han Purple
#342aed  rgb(52, 42, 237)  hsl(243, 84%, 55%)  Han Purple
#e3ed2a  rgb(227, 237, 42)  hsl(63, 84%, 55%)  Pear
#ed342a  rgb(237, 52, 42)  hsl(3, 84%, 55%)  Cinnabar
#2aed34  rgb(42, 237, 52)  hsl(123, 84%, 55%)  Lime