#313AED

#313aed ≈ Han Purple

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

#313aed 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 92.94% blue; printed in CMYK it uses 79.32% cyan, 75.53% magenta, 0% yellow and 7.06% black. Its hue angle is 237.13°, with 83.93% 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.1:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.34.

Description generated from the measured properties of this color.

Conversions of #313aed 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.0979

Readable text 7.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #4b4ea9 ≈ 0.001% of males
Protanopia #0061f2 ≈ 1.01% of males
Deuteranopia #004fea ≈ 1.27% of males
Tritanopia #007092 ≈ 0.0001% of males
Protanomaly #0054f0 ≈ 1.08% of males
Deuteranomaly #0047eb ≈ 4.63% of males
Tritanomaly #005fbd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#313aed  rgb(49, 58, 237)  hsl(237, 84%, 56%)  Han Purple
#ede431  rgb(237, 228, 49)  hsl(57, 84%, 56%)  Dandelion
#ed313a  rgb(237, 49, 58)  hsl(357, 84%, 56%)  Tractor Red
#3aed31  rgb(58, 237, 49)  hsl(117, 84%, 56%)  Neon Green