#402BDA

#402bda ≈ Han Purple

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#402bda is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 16.86% green and 85.49% blue; printed in CMYK it uses 70.64% cyan, 80.28% magenta, 0% yellow and 14.51% black. Its hue angle is 247.2°, with 70.28% saturation and 51.18% 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 brand accents. White text on this color reaches a contrast ratio of 8.15:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #402bda into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0788

Readable text 8.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4a439b ≈ 0.001% of males
Protanopia #0057df ≈ 1.01% of males
Deuteranopia #0047d7 ≈ 1.27% of males
Tritanopia #006284 ≈ 0.0001% of males
Protanomaly #0049dd ≈ 1.08% of males
Deuteranomaly #003ed8 ≈ 4.63% of males
Tritanomaly #0051ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-402bda {
  color: #402bda;
}
Background
.bg-402bda {
  background-color: #402bda;
  color: #ffffff;
}
Border
.border-402bda {
  border: 2px solid #402bda;
}
CSS variables
:root {
  --color-primary: #402bda;
  --color-primary-rgb: 64 43 218;
  --color-primary-hsl: 247 70% 51%;
}
Gradient
.gradient-402bda {
  background: linear-gradient(135deg, #402bda, #982bda);
}
Colored shadow
.shadow-402bda {
  box-shadow: 0 8px 24px rgb(64 43 218 / 0.35);
}

Han Purple
#402bda  rgb(64, 43, 218)  hsl(247, 70%, 51%)  Han Purple
#c5da2b  rgb(197, 218, 43)  hsl(67, 70%, 51%)  Pear
#da402b  rgb(218, 64, 43)  hsl(7, 70%, 51%)  Cinnabar
#2bda40  rgb(43, 218, 64)  hsl(127, 70%, 51%)  Malachite