#540ACB

#540acb ≈ Medium Blue

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

#540acb 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.92% green and 79.61% blue; printed in CMYK it uses 58.62% cyan, 95.07% magenta, 0% yellow and 20.39% black. Its hue angle is 263.01°, with 90.61% saturation and 41.76% 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.2:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.51.

Description generated from the measured properties of this color.

Conversions of #540acb 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.0641

Readable text 9.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 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 #3740a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#540acb  rgb(84, 10, 203)  hsl(263, 91%, 42%)  Medium Blue
#81cb0a  rgb(129, 203, 10)  hsl(83, 91%, 42%)  Yellow Green
#cb540a  rgb(203, 84, 10)  hsl(23, 91%, 42%)  Burnt Orange
#0acb54  rgb(10, 203, 84)  hsl(143, 91%, 42%)  Malachite