#313AFF

#313aff ≈ Han Purple

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

#313aff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 22.75% green and 100% blue; printed in CMYK it uses 80.78% cyan, 77.25% magenta, 0% yellow and 0% black. Its hue angle is 237.38°, with 100% saturation and 59.61% 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 6.6:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 5.2.

Description generated from the measured properties of this color.

Conversions of #313aff 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.109

Readable text 6.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #4f51b6 ≈ 0.001% of males
Protanopia #0067ff ≈ 1.01% of males
Deuteranopia #0052fc ≈ 1.27% of males
Tritanopia #00779c ≈ 0.0001% of males
Protanomaly #0058ff ≈ 1.08% of males
Deuteranomaly #004afd ≈ 4.63% of males
Tritanomaly #0064cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#313aff  rgb(49, 58, 255)  hsl(237, 100%, 60%)  Han Purple
#fff631  rgb(255, 246, 49)  hsl(57, 100%, 60%)  Cadmium Yellow
#ff313a  rgb(255, 49, 58)  hsl(357, 100%, 60%)  Tractor Red
#3aff31  rgb(58, 255, 49)  hsl(117, 100%, 60%)  Neon Green