#5315C8

#5315c8 ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5315c8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.55% red, 8.24% green and 78.43% blue; printed in CMYK it uses 58.5% cyan, 89.5% magenta, 0% yellow and 21.57% black. Its hue angle is 260.78°, with 81% saturation and 43.33% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 9.09:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.68.

Description generated from the measured properties of this color.

Conversions of #5315c8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0655

Readable text 9.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #4d3a8e ≈ 0.001% of males
Protanopia #004ccc ≈ 1.01% of males
Deuteranopia #0043c5 ≈ 1.27% of males
Tritanopia #0f5376 ≈ 0.0001% of males
Protanomaly #003dcb ≈ 1.08% of males
Deuteranomaly #0036c6 ≈ 4.63% of males
Tritanomaly #36429e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5315c8 {
  color: #5315c8;
}
Background
.bg-5315c8 {
  background-color: #5315c8;
  color: #ffffff;
}
Border
.border-5315c8 {
  border: 2px solid #5315c8;
}
CSS variables
:root {
  --color-primary: #5315c8;
  --color-primary-rgb: 83 21 200;
  --color-primary-hsl: 261 81% 43%;
}
Gradient
.gradient-5315c8 {
  background: linear-gradient(135deg, #5315c8, #ac15c8);
}
Colored shadow
.shadow-5315c8 {
  box-shadow: 0 8px 24px rgb(83 21 200 / 0.35);
}

Medium Blue
#5315c8  rgb(83, 21, 200)  hsl(261, 81%, 43%)  Medium Blue
#8ac815  rgb(138, 200, 21)  hsl(81, 81%, 43%)  Yellow Green
#c85315  rgb(200, 83, 21)  hsl(21, 81%, 43%)  Burnt Orange
#15c853  rgb(21, 200, 83)  hsl(141, 81%, 43%)  Lime Green