#3938EF

#3938ef ≈ Han Purple

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

#3938ef 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 93.73% blue; printed in CMYK it uses 76.15% cyan, 76.57% magenta, 0% yellow and 6.27% black. Its hue angle is 240.33°, with 85.12% saturation and 57.84% 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 4.64.

Description generated from the measured properties of this color.

Conversions of #3938ef 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.0993

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 #4e4eab ≈ 0.001% of males
Protanopia #0062f4 ≈ 1.01% of males
Deuteranopia #004fec ≈ 1.27% of males
Tritanopia #007093 ≈ 0.0001% of males
Protanomaly #0054f2 ≈ 1.08% of males
Deuteranomaly #0047ed ≈ 4.63% of males
Tritanomaly #005ebf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#3938ef  rgb(57, 56, 239)  hsl(240, 85%, 58%)  Han Purple
#eeef38  rgb(238, 239, 56)  hsl(60, 85%, 58%)  Icterine
#ef3938  rgb(239, 57, 56)  hsl(0, 85%, 58%)  Cinnabar
#38ef39  rgb(56, 239, 57)  hsl(120, 85%, 58%)  Lime