#313DF4

#313df4 ≈ Han Purple

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

#313df4 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 95.69% blue; printed in CMYK it uses 79.92% cyan, 75% magenta, 0% yellow and 4.31% black. Its hue angle is 236.31°, with 89.86% saturation and 57.45% 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.76:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 5.73.

Description generated from the measured properties of this color.

Conversions of #313df4 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.1052

Readable text 6.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #4e51ae ≈ 0.001% of males
Protanopia #0065f9 ≈ 1.01% of males
Deuteranopia #0051f1 ≈ 1.27% of males
Tritanopia #007497 ≈ 0.0001% of males
Protanomaly #0058f7 ≈ 1.08% of males
Deuteranomaly #004af2 ≈ 4.63% of males
Tritanomaly #0062c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313df4 {
  color: #313df4;
}
Background
.bg-313df4 {
  background-color: #313df4;
  color: #ffffff;
}
Border
.border-313df4 {
  border: 2px solid #313df4;
}
CSS variables
:root {
  --color-primary: #313df4;
  --color-primary-rgb: 49 61 244;
  --color-primary-hsl: 236 90% 57%;
}
Gradient
.gradient-313df4 {
  background: linear-gradient(135deg, #313df4, #8731f4);
}
Colored shadow
.shadow-313df4 {
  box-shadow: 0 8px 24px rgb(49 61 244 / 0.35);
}

Han Purple
#313df4  rgb(49, 61, 244)  hsl(236, 90%, 57%)  Han Purple
#f4e831  rgb(244, 232, 49)  hsl(56, 90%, 57%)  Dandelion
#f4313d  rgb(244, 49, 61)  hsl(356, 90%, 57%)  Tractor Red
#3df431  rgb(61, 244, 49)  hsl(116, 90%, 57%)  Neon Green