#252FEC

#252fec ≈ Han Purple

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

#252fec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 14.51% red, 18.43% green and 92.55% blue; printed in CMYK it uses 84.32% cyan, 80.08% magenta, 0% yellow and 7.45% black. Its hue angle is 236.98°, with 83.97% 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.79:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.43.

Description generated from the measured properties of this color.

Conversions of #252fec 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.0848

Readable text 7.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4447a7 ≈ 0.001% of males
Protanopia #005cf1 ≈ 1.01% of males
Deuteranopia #0048e9 ≈ 1.27% of males
Tritanopia #006c8f ≈ 0.0001% of males
Protanomaly #004eef ≈ 1.08% of males
Deuteranomaly #003fea ≈ 4.63% of males
Tritanomaly #0059bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-252fec {
  color: #252fec;
}
Background
.bg-252fec {
  background-color: #252fec;
  color: #ffffff;
}
Border
.border-252fec {
  border: 2px solid #252fec;
}
CSS variables
:root {
  --color-primary: #252fec;
  --color-primary-rgb: 37 47 236;
  --color-primary-hsl: 237 84% 54%;
}
Gradient
.gradient-252fec {
  background: linear-gradient(135deg, #252fec, #7e25ec);
}
Colored shadow
.shadow-252fec {
  box-shadow: 0 8px 24px rgb(37 47 236 / 0.35);
}

Han Purple
#252fec  rgb(37, 47, 236)  hsl(237, 84%, 54%)  Han Purple
#ece225  rgb(236, 226, 37)  hsl(57, 84%, 54%)  Dandelion
#ec252f  rgb(236, 37, 47)  hsl(357, 84%, 54%)  Lust
#2fec25  rgb(47, 236, 37)  hsl(117, 84%, 54%)  Lime