#5231FF

#5231ff ≈ Han Purple

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

#5231ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 19.22% green and 100% blue; printed in CMYK it uses 67.84% cyan, 80.78% magenta, 0% yellow and 0% black. Its hue angle is 249.61°, with 100% saturation and 59.61% 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.48:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.41.

Description generated from the measured properties of this color.

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

Readable text 6.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5950b6 ≈ 0.001% of males
Protanopia #0066ff ≈ 1.01% of males
Deuteranopia #0055fc ≈ 1.27% of males
Tritanopia #00729b ≈ 0.0001% of males
Protanomaly #0056ff ≈ 1.08% of males
Deuteranomaly #0049fd ≈ 4.63% of males
Tritanomaly #005fcb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5231ff {
  color: #5231ff;
}
Background
.bg-5231ff {
  background-color: #5231ff;
  color: #ffffff;
}
Border
.border-5231ff {
  border: 2px solid #5231ff;
}
CSS variables
:root {
  --color-primary: #5231ff;
  --color-primary-rgb: 82 49 255;
  --color-primary-hsl: 250 100% 60%;
}
Gradient
.gradient-5231ff {
  background: linear-gradient(135deg, #5231ff, #b931ff);
}
Colored shadow
.shadow-5231ff {
  box-shadow: 0 8px 24px rgb(82 49 255 / 0.35);
}

Han Purple
#5231ff  rgb(82, 49, 255)  hsl(250, 100%, 60%)  Han Purple
#deff31  rgb(222, 255, 49)  hsl(70, 100%, 60%)  Chartreuse Yellow
#ff5231  rgb(255, 82, 49)  hsl(10, 100%, 60%)  Tomato
#31ff52  rgb(49, 255, 82)  hsl(130, 100%, 60%)  Lime