#252CFF

#252cff ≈ Han Purple

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

#252cff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 14.51% red, 17.25% green and 100% blue; printed in CMYK it uses 85.49% cyan, 82.75% magenta, 0% yellow and 0% black. Its hue angle is 238.07°, with 100% saturation and 57.25% 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.28:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.48.

Description generated from the measured properties of this color.

Conversions of #252cff 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.0941

Readable text 7.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4749b4 ≈ 0.001% of males
Protanopia #0062ff ≈ 1.01% of males
Deuteranopia #004bfc ≈ 1.27% of males
Tritanopia #00729a ≈ 0.0001% of males
Protanomaly #0051ff ≈ 1.08% of males
Deuteranomaly #0040fd ≈ 4.63% of males
Tritanomaly #005eca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-252cff {
  color: #252cff;
}
Background
.bg-252cff {
  background-color: #252cff;
  color: #ffffff;
}
Border
.border-252cff {
  border: 2px solid #252cff;
}
CSS variables
:root {
  --color-primary: #252cff;
  --color-primary-rgb: 37 44 255;
  --color-primary-hsl: 238 100% 57%;
}
Gradient
.gradient-252cff {
  background: linear-gradient(135deg, #252cff, #8b25ff);
}
Colored shadow
.shadow-252cff {
  box-shadow: 0 8px 24px rgb(37 44 255 / 0.35);
}

Han Purple
#252cff  rgb(37, 44, 255)  hsl(238, 100%, 57%)  Han Purple
#fff825  rgb(255, 248, 37)  hsl(58, 100%, 57%)  Lemon
#ff252c  rgb(255, 37, 44)  hsl(358, 100%, 57%)  Tractor Red
#2cff25  rgb(44, 255, 37)  hsl(118, 100%, 57%)  Neon Green