#5B0DB2

#5b0db2 ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#5b0db2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 35.69% red, 5.1% green and 69.8% blue; printed in CMYK it uses 48.88% cyan, 92.7% magenta, 0% yellow and 30.2% black. Its hue angle is 268.36°, with 86.39% saturation and 37.45% 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.79:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 7.06.

Description generated from the measured properties of this color.

Conversions of #5b0db2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#660099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0573

Readable text 9.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #4e357f ≈ 0.001% of males
Protanopia #0045b6 ≈ 1.01% of males
Deuteranopia #0041af ≈ 1.27% of males
Tritanopia #404668 ≈ 0.0001% of males
Protanomaly #0036b4 ≈ 1.08% of males
Deuteranomaly #1233b0 ≈ 4.63% of males
Tritanomaly #4c378c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b0db2 {
  color: #5b0db2;
}
Background
.bg-5b0db2 {
  background-color: #5b0db2;
  color: #ffffff;
}
Border
.border-5b0db2 {
  border: 2px solid #5b0db2;
}
CSS variables
:root {
  --color-primary: #5b0db2;
  --color-primary-rgb: 91 13 178;
  --color-primary-hsl: 268 86% 37%;
}
Gradient
.gradient-5b0db2 {
  background: linear-gradient(135deg, #5b0db2, #ad0db2);
}
Colored shadow
.shadow-5b0db2 {
  box-shadow: 0 8px 24px rgb(91 13 178 / 0.35);
}

Medium Blue
#5b0db2  rgb(91, 13, 178)  hsl(268, 86%, 37%)  Medium Blue
#64b20d  rgb(100, 178, 13)  hsl(88, 86%, 37%)  Kelly Green
#b25b0d  rgb(178, 91, 13)  hsl(28, 86%, 37%)  Ginger
#0db25b  rgb(13, 178, 91)  hsl(148, 86%, 37%)  Medium Sea Green