#252EF8

#252ef8 ≈ Han Purple

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

#252ef8 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.04% green and 97.25% blue; printed in CMYK it uses 85.08% cyan, 81.45% magenta, 0% yellow and 2.75% black. Its hue angle is 237.44°, with 93.78% saturation and 55.88% 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.43:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.78.

Description generated from the measured properties of this color.

Conversions of #252ef8 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.0912

Readable text 7.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4748af ≈ 0.001% of males
Protanopia #0060fd ≈ 1.01% of males
Deuteranopia #004af5 ≈ 1.27% of males
Tritanopia #007096 ≈ 0.0001% of males
Protanomaly #0050fb ≈ 1.08% of males
Deuteranomaly #0040f6 ≈ 4.63% of males
Tritanomaly #005dc5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-252ef8 {
  color: #252ef8;
}
Background
.bg-252ef8 {
  background-color: #252ef8;
  color: #ffffff;
}
Border
.border-252ef8 {
  border: 2px solid #252ef8;
}
CSS variables
:root {
  --color-primary: #252ef8;
  --color-primary-rgb: 37 46 248;
  --color-primary-hsl: 237 94% 56%;
}
Gradient
.gradient-252ef8 {
  background: linear-gradient(135deg, #252ef8, #8525f8);
}
Colored shadow
.shadow-252ef8 {
  box-shadow: 0 8px 24px rgb(37 46 248 / 0.35);
}

Han Purple
#252ef8  rgb(37, 46, 248)  hsl(237, 94%, 56%)  Han Purple
#f8ef25  rgb(248, 239, 37)  hsl(57, 94%, 56%)  Aureolin
#f8252e  rgb(248, 37, 46)  hsl(357, 94%, 56%)  Tractor Red
#2ef825  rgb(46, 248, 37)  hsl(117, 94%, 56%)  Lime