#402EFA

#402efa ≈ Han Purple

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

#402efa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 18.04% green and 98.04% blue; printed in CMYK it uses 74.4% cyan, 81.6% magenta, 0% yellow and 1.96% black. Its hue angle is 245.29°, with 95.33% saturation and 58.04% 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.03:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.79.

Description generated from the measured properties of this color.

Conversions of #402efa 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.0995

Readable text 7.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #504bb1 ≈ 0.001% of males
Protanopia #0062ff ≈ 1.01% of males
Deuteranopia #004ff7 ≈ 1.27% of males
Tritanopia #007097 ≈ 0.0001% of males
Protanomaly #0052fd ≈ 1.08% of males
Deuteranomaly #0044f8 ≈ 4.63% of males
Tritanomaly #005dc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-402efa {
  color: #402efa;
}
Background
.bg-402efa {
  background-color: #402efa;
  color: #ffffff;
}
Border
.border-402efa {
  border: 2px solid #402efa;
}
CSS variables
:root {
  --color-primary: #402efa;
  --color-primary-rgb: 64 46 250;
  --color-primary-hsl: 245 95% 58%;
}
Gradient
.gradient-402efa {
  background: linear-gradient(135deg, #402efa, #a62efa);
}
Colored shadow
.shadow-402efa {
  box-shadow: 0 8px 24px rgb(64 46 250 / 0.35);
}

Han Purple
#402efa  rgb(64, 46, 250)  hsl(245, 95%, 58%)  Han Purple
#e8fa2e  rgb(232, 250, 46)  hsl(65, 95%, 58%)  Lemon Lime
#fa402e  rgb(250, 64, 46)  hsl(5, 95%, 58%)  Cinnabar
#2efa40  rgb(46, 250, 64)  hsl(125, 95%, 58%)  Lime