#312EF8

#312ef8 ≈ Han Purple

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

#312ef8 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 18.04% green and 97.25% blue; printed in CMYK it uses 80.24% cyan, 81.45% magenta, 0% yellow and 2.75% black. Its hue angle is 240.89°, with 93.52% saturation and 57.65% 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.3:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #312ef8 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.0938

Readable text 7.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4a49b0 ≈ 0.001% of males
Protanopia #0060fd ≈ 1.01% of males
Deuteranopia #004cf5 ≈ 1.27% of males
Tritanopia #007096 ≈ 0.0001% of males
Protanomaly #0051fb ≈ 1.08% of males
Deuteranomaly #0042f6 ≈ 4.63% of males
Tritanomaly #005cc5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-312ef8 {
  color: #312ef8;
}
Background
.bg-312ef8 {
  background-color: #312ef8;
  color: #ffffff;
}
Border
.border-312ef8 {
  border: 2px solid #312ef8;
}
CSS variables
:root {
  --color-primary: #312ef8;
  --color-primary-rgb: 49 46 248;
  --color-primary-hsl: 241 94% 58%;
}
Gradient
.gradient-312ef8 {
  background: linear-gradient(135deg, #312ef8, #962ef8);
}
Colored shadow
.shadow-312ef8 {
  box-shadow: 0 8px 24px rgb(49 46 248 / 0.35);
}

Han Purple
#312ef8  rgb(49, 46, 248)  hsl(241, 94%, 58%)  Han Purple
#f5f82e  rgb(245, 248, 46)  hsl(61, 94%, 58%)  Daffodil
#f8312e  rgb(248, 49, 46)  hsl(1, 94%, 58%)  Cinnabar
#2ef831  rgb(46, 248, 49)  hsl(121, 94%, 58%)  Lime