#252DF7

#252df7 ≈ Han Purple

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

#252df7 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.65% green and 96.86% blue; printed in CMYK it uses 85.02% cyan, 81.78% magenta, 0% yellow and 3.14% black. Its hue angle is 237.71°, with 92.92% saturation and 55.69% 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.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.71.

Description generated from the measured properties of this color.

Conversions of #252df7 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.0899

Readable text 7.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4648ae ≈ 0.001% of males
Protanopia #005ffc ≈ 1.01% of males
Deuteranopia #0049f4 ≈ 1.27% of males
Tritanopia #006f95 ≈ 0.0001% of males
Protanomaly #0050fa ≈ 1.08% of males
Deuteranomaly #0040f5 ≈ 4.63% of males
Tritanomaly #005cc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-252df7 {
  color: #252df7;
}
Background
.bg-252df7 {
  background-color: #252df7;
  color: #ffffff;
}
Border
.border-252df7 {
  border: 2px solid #252df7;
}
CSS variables
:root {
  --color-primary: #252df7;
  --color-primary-rgb: 37 45 247;
  --color-primary-hsl: 238 93% 56%;
}
Gradient
.gradient-252df7 {
  background: linear-gradient(135deg, #252df7, #8625f7);
}
Colored shadow
.shadow-252df7 {
  box-shadow: 0 8px 24px rgb(37 45 247 / 0.35);
}

Han Purple
#252df7  rgb(37, 45, 247)  hsl(238, 93%, 56%)  Han Purple
#f7ef25  rgb(247, 239, 37)  hsl(58, 93%, 56%)  Aureolin
#f7252d  rgb(247, 37, 45)  hsl(358, 93%, 56%)  Tractor Red
#2df725  rgb(45, 247, 37)  hsl(118, 93%, 56%)  Lime