#3938EA

#3938ea ≈ Han Purple

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

#3938ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 22.35% red, 21.96% green and 91.76% blue; printed in CMYK it uses 75.64% cyan, 76.07% magenta, 0% yellow and 8.24% black. Its hue angle is 240.34°, with 80.91% saturation and 56.86% 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.17:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.81.

Description generated from the measured properties of this color.

Conversions of #3938ea 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.0964

Readable text 7.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #4d4da7 ≈ 0.001% of males
Protanopia #0060ef ≈ 1.01% of males
Deuteranopia #004ee7 ≈ 1.27% of males
Tritanopia #006e90 ≈ 0.0001% of males
Protanomaly #0053ed ≈ 1.08% of males
Deuteranomaly #0046e8 ≈ 4.63% of males
Tritanomaly #005dbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3938ea {
  color: #3938ea;
}
Background
.bg-3938ea {
  background-color: #3938ea;
  color: #ffffff;
}
Border
.border-3938ea {
  border: 2px solid #3938ea;
}
CSS variables
:root {
  --color-primary: #3938ea;
  --color-primary-rgb: 57 56 234;
  --color-primary-hsl: 240 81% 57%;
}
Gradient
.gradient-3938ea {
  background: linear-gradient(135deg, #3938ea, #9238ea);
}
Colored shadow
.shadow-3938ea {
  box-shadow: 0 8px 24px rgb(57 56 234 / 0.35);
}

Han Purple
#3938ea  rgb(57, 56, 234)  hsl(240, 81%, 57%)  Han Purple
#e9ea38  rgb(233, 234, 56)  hsl(60, 81%, 57%)  Titanium Yellow
#ea3938  rgb(234, 57, 56)  hsl(0, 81%, 57%)  Cinnabar
#38ea39  rgb(56, 234, 57)  hsl(120, 81%, 57%)  Lime