#152CFC

#152cfc ≈ Han Purple

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

#152cfc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 8.24% red, 17.25% green and 98.82% blue; printed in CMYK it uses 91.67% cyan, 82.54% magenta, 0% yellow and 1.18% black. Its hue angle is 234.03°, with 97.47% saturation and 53.53% 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.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.93.

Description generated from the measured properties of this color.

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

Readable text 7.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4348b2 ≈ 0.001% of males
Protanopia #0060ff ≈ 1.01% of males
Deuteranopia #0048f9 ≈ 1.27% of males
Tritanopia #007198 ≈ 0.0001% of males
Protanomaly #0050ff ≈ 1.08% of males
Deuteranomaly #003ffa ≈ 4.63% of males
Tritanomaly #005dc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-152cfc {
  color: #152cfc;
}
Background
.bg-152cfc {
  background-color: #152cfc;
  color: #ffffff;
}
Border
.border-152cfc {
  border: 2px solid #152cfc;
}
CSS variables
:root {
  --color-primary: #152cfc;
  --color-primary-rgb: 21 44 252;
  --color-primary-hsl: 234 97% 54%;
}
Gradient
.gradient-152cfc {
  background: linear-gradient(135deg, #152cfc, #7215fc);
}
Colored shadow
.shadow-152cfc {
  box-shadow: 0 8px 24px rgb(21 44 252 / 0.35);
}

Han Purple
#152cfc  rgb(21, 44, 252)  hsl(234, 97%, 54%)  Han Purple
#fce515  rgb(252, 229, 21)  hsl(54, 97%, 54%)  Golden Yellow
#fc152c  rgb(252, 21, 44)  hsl(354, 97%, 54%)  Tractor Red
#2cfc15  rgb(44, 252, 21)  hsl(114, 97%, 54%)  Neon Green