#252DFF

#252dff ≈ Han Purple

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

#252dff 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 100% blue; printed in CMYK it uses 85.49% cyan, 82.35% magenta, 0% yellow and 0% black. Its hue angle is 237.8°, 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.25:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.58.

Description generated from the measured properties of this color.

Conversions of #252dff 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.0949

Readable text 7.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #4849b4 ≈ 0.001% of males
Protanopia #0062ff ≈ 1.01% of males
Deuteranopia #004bfc ≈ 1.27% of males
Tritanopia #00739a ≈ 0.0001% of males
Protanomaly #0052ff ≈ 1.08% of males
Deuteranomaly #0041fd ≈ 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-252dff {
  color: #252dff;
}
Background
.bg-252dff {
  background-color: #252dff;
  color: #ffffff;
}
Border
.border-252dff {
  border: 2px solid #252dff;
}
CSS variables
:root {
  --color-primary: #252dff;
  --color-primary-rgb: 37 45 255;
  --color-primary-hsl: 238 100% 57%;
}
Gradient
.gradient-252dff {
  background: linear-gradient(135deg, #252dff, #8a25ff);
}
Colored shadow
.shadow-252dff {
  box-shadow: 0 8px 24px rgb(37 45 255 / 0.35);
}

Han Purple
#252dff  rgb(37, 45, 255)  hsl(238, 100%, 57%)  Han Purple
#fff725  rgb(255, 247, 37)  hsl(58, 100%, 57%)  Lemon
#ff252d  rgb(255, 37, 45)  hsl(358, 100%, 57%)  Tractor Red
#2dff25  rgb(45, 255, 37)  hsl(118, 100%, 57%)  Neon Green