#313DFF

#313dff ≈ Han Purple

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

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

Description generated from the measured properties of this color.

Conversions of #313dff 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.1121

Readable text 6.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5053b6 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0053fc ≈ 1.27% of males
Tritanopia #00789d ≈ 0.0001% of males
Protanomaly #005aff ≈ 1.08% of males
Deuteranomaly #004bfd ≈ 4.63% of males
Tritanomaly #0066cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#313dff  rgb(49, 61, 255)  hsl(237, 100%, 60%)  Han Purple
#fff331  rgb(255, 243, 49)  hsl(57, 100%, 60%)  Cadmium Yellow
#ff313d  rgb(255, 49, 61)  hsl(357, 100%, 60%)  Tractor Red
#3dff31  rgb(61, 255, 49)  hsl(117, 100%, 60%)  Neon Green