#313AEF

#313aef ≈ Han Purple

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

#313aef is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 22.75% green and 93.73% blue; printed in CMYK it uses 79.5% cyan, 75.73% magenta, 0% yellow and 6.27% black. Its hue angle is 237.16°, with 85.59% saturation and 56.47% 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.04:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.27.

Description generated from the measured properties of this color.

Conversions of #313aef 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.0991

Readable text 7.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #4c4eab ≈ 0.001% of males
Protanopia #0062f4 ≈ 1.01% of males
Deuteranopia #004fec ≈ 1.27% of males
Tritanopia #007193 ≈ 0.0001% of males
Protanomaly #0055f2 ≈ 1.08% of males
Deuteranomaly #0047ed ≈ 4.63% of males
Tritanomaly #005fbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#313aef  rgb(49, 58, 239)  hsl(237, 86%, 56%)  Han Purple
#efe631  rgb(239, 230, 49)  hsl(57, 86%, 56%)  Titanium Yellow
#ef313a  rgb(239, 49, 58)  hsl(357, 86%, 56%)  Tractor Red
#3aef31  rgb(58, 239, 49)  hsl(117, 86%, 56%)  Neon Green