#5408CB

#5408cb ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#5408cb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 3.14% green and 79.61% blue; printed in CMYK it uses 58.62% cyan, 96.06% magenta, 0% yellow and 20.39% black. Its hue angle is 263.38°, with 92.42% saturation and 41.37% 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.23:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.48.

Description generated from the measured properties of this color.

Conversions of #5408cb 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.0637

Readable text 9.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #4d3890 ≈ 0.001% of males
Protanopia #004cd0 ≈ 1.01% of males
Deuteranopia #0042c8 ≈ 1.27% of males
Tritanopia #0e5277 ≈ 0.0001% of males
Protanomaly #003bce ≈ 1.08% of males
Deuteranomaly #0034c9 ≈ 4.63% of males
Tritanomaly #37409f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5408cb {
  color: #5408cb;
}
Background
.bg-5408cb {
  background-color: #5408cb;
  color: #ffffff;
}
Border
.border-5408cb {
  border: 2px solid #5408cb;
}
CSS variables
:root {
  --color-primary: #5408cb;
  --color-primary-rgb: 84 8 203;
  --color-primary-hsl: 263 92% 41%;
}
Gradient
.gradient-5408cb {
  background: linear-gradient(135deg, #5408cb, #b508cb);
}
Colored shadow
.shadow-5408cb {
  box-shadow: 0 8px 24px rgb(84 8 203 / 0.35);
}

Medium Blue
#5408cb  rgb(84, 8, 203)  hsl(263, 92%, 41%)  Medium Blue
#7fcb08  rgb(127, 203, 8)  hsl(83, 92%, 41%)  Yellow Green
#cb5408  rgb(203, 84, 8)  hsl(23, 92%, 41%)  Burnt Orange
#08cb54  rgb(8, 203, 84)  hsl(143, 92%, 41%)  Malachite