#381EFF

#381eff ≈ Han Purple

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

#381eff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 21.96% red, 11.76% green and 100% blue; printed in CMYK it uses 78.04% cyan, 88.24% magenta, 0% yellow and 0% black. Its hue angle is 246.93°, with 100% saturation and 55.88% 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.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.88.

Description generated from the measured properties of this color.

Conversions of #381eff 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.0899

Readable text 7.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4b45b4 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #0049fb ≈ 1.27% of males
Tritanopia #006e98 ≈ 0.0001% of males
Protanomaly #004dff ≈ 1.08% of males
Deuteranomaly #003cfd ≈ 4.63% of males
Tritanomaly #0059ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-381eff {
  color: #381eff;
}
Background
.bg-381eff {
  background-color: #381eff;
  color: #ffffff;
}
Border
.border-381eff {
  border: 2px solid #381eff;
}
CSS variables
:root {
  --color-primary: #381eff;
  --color-primary-rgb: 56 30 255;
  --color-primary-hsl: 247 100% 56%;
}
Gradient
.gradient-381eff {
  background: linear-gradient(135deg, #381eff, #a81eff);
}
Colored shadow
.shadow-381eff {
  box-shadow: 0 8px 24px rgb(56 30 255 / 0.35);
}

Han Purple
#381eff  rgb(56, 30, 255)  hsl(247, 100%, 56%)  Han Purple
#e5ff1e  rgb(229, 255, 30)  hsl(67, 100%, 56%)  Lemon Lime
#ff381e  rgb(255, 56, 30)  hsl(7, 100%, 56%)  Ferrari Red
#1eff38  rgb(30, 255, 56)  hsl(127, 100%, 56%)  Lime