#152FFB

#152ffb ≈ Han Purple

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

#152ffb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 8.24% red, 18.43% green and 98.43% blue; printed in CMYK it uses 91.63% cyan, 81.27% magenta, 0% yellow and 1.57% black. Its hue angle is 233.22°, with 96.64% saturation and 53.33% 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.42:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #152ffb 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.0916

Readable text 7.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4449b1 ≈ 0.001% of males
Protanopia #0061ff ≈ 1.01% of males
Deuteranopia #0049f8 ≈ 1.27% of males
Tritanopia #007298 ≈ 0.0001% of males
Protanomaly #0051fe ≈ 1.08% of males
Deuteranomaly #0040f9 ≈ 4.63% of males
Tritanomaly #005ec7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-152ffb {
  color: #152ffb;
}
Background
.bg-152ffb {
  background-color: #152ffb;
  color: #ffffff;
}
Border
.border-152ffb {
  border: 2px solid #152ffb;
}
CSS variables
:root {
  --color-primary: #152ffb;
  --color-primary-rgb: 21 47 251;
  --color-primary-hsl: 233 97% 53%;
}
Gradient
.gradient-152ffb {
  background: linear-gradient(135deg, #152ffb, #6e15fb);
}
Colored shadow
.shadow-152ffb {
  box-shadow: 0 8px 24px rgb(21 47 251 / 0.35);
}

Han Purple
#152ffb  rgb(21, 47, 251)  hsl(233, 97%, 53%)  Han Purple
#fbe115  rgb(251, 225, 21)  hsl(53, 97%, 53%)  Golden Yellow
#fb152f  rgb(251, 21, 47)  hsl(353, 97%, 53%)  Tractor Red
#2ffb15  rgb(47, 251, 21)  hsl(113, 97%, 53%)  Neon Green