#252AFF

#252aff ≈ Han Purple

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

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

Description generated from the measured properties of this color.

Conversions of #252aff 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.0927

Readable text 7.36: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 #4748b4 ≈ 0.001% of males
Protanopia #0061ff ≈ 1.01% of males
Deuteranopia #004afc ≈ 1.27% of males
Tritanopia #007299 ≈ 0.0001% of males
Protanomaly #0050ff ≈ 1.08% of males
Deuteranomaly #003ffd ≈ 4.63% of males
Tritanomaly #005dca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#252aff  rgb(37, 42, 255)  hsl(239, 100%, 57%)  Han Purple
#fffa25  rgb(255, 250, 37)  hsl(59, 100%, 57%)  Lemon
#ff252a  rgb(255, 37, 42)  hsl(359, 100%, 57%)  Tractor Red
#2aff25  rgb(42, 255, 37)  hsl(119, 100%, 57%)  Lime