#152DFF

#152dff ≈ Han Purple

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

#152dff 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.65% green and 100% blue; printed in CMYK it uses 91.76% cyan, 82.35% magenta, 0% yellow and 0% black. Its hue angle is 233.85°, with 100% saturation and 54.12% 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.37:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.96.

Description generated from the measured properties of this color.

Conversions of #152dff 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.0926

Readable text 7.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4449b4 ≈ 0.001% of males
Protanopia #0061ff ≈ 1.01% of males
Deuteranopia #0049fc ≈ 1.27% of males
Tritanopia #00739a ≈ 0.0001% of males
Protanomaly #0051ff ≈ 1.08% of males
Deuteranomaly #0040fd ≈ 4.63% of males
Tritanomaly #005fca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#152dff  rgb(21, 45, 255)  hsl(234, 100%, 54%)  Han Purple
#ffe715  rgb(255, 231, 21)  hsl(54, 100%, 54%)  Canary Yellow
#ff152d  rgb(255, 21, 45)  hsl(354, 100%, 54%)  Tractor Red
#2dff15  rgb(45, 255, 21)  hsl(114, 100%, 54%)  Neon Green