#343AF2

#343af2 ≈ Han Purple

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

#343af2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 22.75% green and 94.9% blue; printed in CMYK it uses 78.51% cyan, 76.03% magenta, 0% yellow and 5.1% black. Its hue angle is 238.11°, with 87.96% saturation and 57.65% 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 6.92:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 5.1.

Description generated from the measured properties of this color.

Conversions of #343af2 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.1017

Readable text 6.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #4d4fad ≈ 0.001% of males
Protanopia #0063f7 ≈ 1.01% of males
Deuteranopia #0050ef ≈ 1.27% of males
Tritanopia #007295 ≈ 0.0001% of males
Protanomaly #0056f5 ≈ 1.08% of males
Deuteranomaly #0048f0 ≈ 4.63% of males
Tritanomaly #0060c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-343af2 {
  color: #343af2;
}
Background
.bg-343af2 {
  background-color: #343af2;
  color: #ffffff;
}
Border
.border-343af2 {
  border: 2px solid #343af2;
}
CSS variables
:root {
  --color-primary: #343af2;
  --color-primary-rgb: 52 58 242;
  --color-primary-hsl: 238 88% 58%;
}
Gradient
.gradient-343af2 {
  background: linear-gradient(135deg, #343af2, #8d34f2);
}
Colored shadow
.shadow-343af2 {
  box-shadow: 0 8px 24px rgb(52 58 242 / 0.35);
}

Han Purple
#343af2  rgb(52, 58, 242)  hsl(238, 88%, 58%)  Han Purple
#f2ec34  rgb(242, 236, 52)  hsl(58, 88%, 58%)  Titanium Yellow
#f2343a  rgb(242, 52, 58)  hsl(358, 88%, 58%)  Tractor Red
#3af234  rgb(58, 242, 52)  hsl(118, 88%, 58%)  Neon Green