#342BED

#342bed ≈ Han Purple

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

#342bed 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.86% green and 92.94% blue; printed in CMYK it uses 78.06% cyan, 81.86% magenta, 0% yellow and 7.06% black. Its hue angle is 242.78°, with 84.35% saturation and 54.9% 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.74:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.39.

Description generated from the measured properties of this color.

Conversions of #342bed 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.0857

Readable text 7.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4846a8 ≈ 0.001% of males
Protanopia #005cf2 ≈ 1.01% of males
Deuteranopia #0049ea ≈ 1.27% of males
Tritanopia #006a8f ≈ 0.0001% of males
Protanomaly #004df0 ≈ 1.08% of males
Deuteranomaly #003feb ≈ 4.63% of males
Tritanomaly #0058bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#342bed  rgb(52, 43, 237)  hsl(243, 84%, 55%)  Han Purple
#e4ed2b  rgb(228, 237, 43)  hsl(63, 84%, 55%)  Pear
#ed342b  rgb(237, 52, 43)  hsl(3, 84%, 55%)  Cinnabar
#2bed34  rgb(43, 237, 52)  hsl(123, 84%, 55%)  Lime