#5804C8

#5804c8 ≈ Medium Blue

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

#5804c8 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 34.51% red, 1.57% green and 78.43% blue; printed in CMYK it uses 56% cyan, 98% magenta, 0% yellow and 21.57% black. Its hue angle is 265.71°, with 96.08% saturation and 40% 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.27:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.87.

Description generated from the measured properties of this color.

Conversions of #5804c8 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.0633

Readable text 9.27: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 #4e378e ≈ 0.001% of males
Protanopia #004bcd ≈ 1.01% of males
Deuteranopia #0043c5 ≈ 1.27% of males
Tritanopia #264f75 ≈ 0.0001% of males
Protanomaly #003acb ≈ 1.08% of males
Deuteranomaly #0034c6 ≈ 4.63% of males
Tritanomaly #403e9d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5804c8 {
  color: #5804c8;
}
Background
.bg-5804c8 {
  background-color: #5804c8;
  color: #ffffff;
}
Border
.border-5804c8 {
  border: 2px solid #5804c8;
}
CSS variables
:root {
  --color-primary: #5804c8;
  --color-primary-rgb: 88 4 200;
  --color-primary-hsl: 266 96% 40%;
}
Gradient
.gradient-5804c8 {
  background: linear-gradient(135deg, #5804c8, #ba04c8);
}
Colored shadow
.shadow-5804c8 {
  box-shadow: 0 8px 24px rgb(88 4 200 / 0.35);
}

Medium Blue
#5804c8  rgb(88, 4, 200)  hsl(266, 96%, 40%)  Medium Blue
#74c804  rgb(116, 200, 4)  hsl(86, 96%, 40%)  Yellow Green
#c85804  rgb(200, 88, 4)  hsl(26, 96%, 40%)  Burnt Orange
#04c858  rgb(4, 200, 88)  hsl(146, 96%, 40%)  Malachite