#5B18BC

#5b18bc ≈ Medium Blue

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

#5b18bc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.69% red, 9.41% green and 73.73% blue; printed in CMYK it uses 51.6% cyan, 87.23% magenta, 0% yellow and 26.27% black. Its hue angle is 264.51°, with 77.36% saturation and 41.57% 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 brand accents. White text on this color reaches a contrast ratio of 9.12:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.91.

Description generated from the measured properties of this color.

Conversions of #5b18bc 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.0651

Readable text 9.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #503a86 ≈ 0.001% of males
Protanopia #004ac0 ≈ 1.01% of males
Deuteranopia #0045b9 ≈ 1.27% of males
Tritanopia #394d6f ≈ 0.0001% of males
Protanomaly #003cbf ≈ 1.08% of males
Deuteranomaly #0338ba ≈ 4.63% of males
Tritanomaly #493e94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b18bc {
  color: #5b18bc;
}
Background
.bg-5b18bc {
  background-color: #5b18bc;
  color: #ffffff;
}
Border
.border-5b18bc {
  border: 2px solid #5b18bc;
}
CSS variables
:root {
  --color-primary: #5b18bc;
  --color-primary-rgb: 91 24 188;
  --color-primary-hsl: 265 77% 42%;
}
Gradient
.gradient-5b18bc {
  background: linear-gradient(135deg, #5b18bc, #ad18bc);
}
Colored shadow
.shadow-5b18bc {
  box-shadow: 0 8px 24px rgb(91 24 188 / 0.35);
}

Medium Blue
#5b18bc  rgb(91, 24, 188)  hsl(265, 77%, 42%)  Medium Blue
#79bc18  rgb(121, 188, 24)  hsl(85, 77%, 42%)  Apple Green
#bc5b18  rgb(188, 91, 24)  hsl(25, 77%, 42%)  Burnt Orange
#18bc5b  rgb(24, 188, 91)  hsl(145, 77%, 42%)  Emerald