#313CEB

#313ceb ≈ Han Purple

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

#313ceb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 23.53% green and 92.16% blue; printed in CMYK it uses 79.15% cyan, 74.47% magenta, 0% yellow and 7.84% black. Its hue angle is 236.45°, with 82.3% saturation and 55.69% 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.06:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.77.

Description generated from the measured properties of this color.

Conversions of #313ceb 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.0988

Readable text 7.06: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 #4c4fa8 ≈ 0.001% of males
Protanopia #0062f0 ≈ 1.01% of males
Deuteranopia #004fe8 ≈ 1.27% of males
Tritanopia #007091 ≈ 0.0001% of males
Protanomaly #0055ee ≈ 1.08% of males
Deuteranomaly #0048e9 ≈ 4.63% of males
Tritanomaly #005fbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313ceb {
  color: #313ceb;
}
Background
.bg-313ceb {
  background-color: #313ceb;
  color: #ffffff;
}
Border
.border-313ceb {
  border: 2px solid #313ceb;
}
CSS variables
:root {
  --color-primary: #313ceb;
  --color-primary-rgb: 49 60 235;
  --color-primary-hsl: 236 82% 56%;
}
Gradient
.gradient-313ceb {
  background: linear-gradient(135deg, #313ceb, #8331eb);
}
Colored shadow
.shadow-313ceb {
  box-shadow: 0 8px 24px rgb(49 60 235 / 0.35);
}

Han Purple
#313ceb  rgb(49, 60, 235)  hsl(236, 82%, 56%)  Han Purple
#ebe031  rgb(235, 224, 49)  hsl(56, 82%, 56%)  Dandelion
#eb313c  rgb(235, 49, 60)  hsl(356, 82%, 56%)  Tractor Red
#3ceb31  rgb(60, 235, 49)  hsl(116, 82%, 56%)  Neon Green