#312FEF

#312fef ≈ Han Purple

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

#312fef 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.43% green and 93.73% blue; printed in CMYK it uses 79.5% cyan, 80.33% magenta, 0% yellow and 6.27% black. Its hue angle is 240.63°, with 85.71% saturation and 56.08% 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.54:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.75.

Description generated from the measured properties of this color.

Conversions of #312fef 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.0892

Readable text 7.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #4948a9 ≈ 0.001% of males
Protanopia #005ef4 ≈ 1.01% of males
Deuteranopia #004aec ≈ 1.27% of males
Tritanopia #006d91 ≈ 0.0001% of males
Protanomaly #004ff2 ≈ 1.08% of males
Deuteranomaly #0041ed ≈ 4.63% of males
Tritanomaly #005abe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-312fef {
  color: #312fef;
}
Background
.bg-312fef {
  background-color: #312fef;
  color: #ffffff;
}
Border
.border-312fef {
  border: 2px solid #312fef;
}
CSS variables
:root {
  --color-primary: #312fef;
  --color-primary-rgb: 49 47 239;
  --color-primary-hsl: 241 86% 56%;
}
Gradient
.gradient-312fef {
  background: linear-gradient(135deg, #312fef, #912fef);
}
Colored shadow
.shadow-312fef {
  box-shadow: 0 8px 24px rgb(49 47 239 / 0.35);
}

Han Purple
#312fef  rgb(49, 47, 239)  hsl(241, 86%, 56%)  Han Purple
#edef2f  rgb(237, 239, 47)  hsl(61, 86%, 56%)  Titanium Yellow
#ef312f  rgb(239, 49, 47)  hsl(1, 86%, 56%)  Cinnabar
#2fef31  rgb(47, 239, 49)  hsl(121, 86%, 56%)  Lime