#540ABC

#540abc ≈ Medium Blue

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

#540abc is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.94% red, 3.92% green and 73.73% blue; printed in CMYK it uses 55.32% cyan, 94.68% magenta, 0% yellow and 26.27% black. Its hue angle is 264.94°, with 89.9% saturation and 38.82% 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.78:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.62.

Description generated from the measured properties of this color.

Conversions of #540abc 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.0573

Readable text 9.78: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 #4b3585 ≈ 0.001% of males
Protanopia #0047c0 ≈ 1.01% of males
Deuteranopia #0040b9 ≈ 1.27% of males
Tritanopia #284b6e ≈ 0.0001% of males
Protanomaly #0037bf ≈ 1.08% of males
Deuteranomaly #0032ba ≈ 4.63% of males
Tritanomaly #3e3b94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540abc {
  color: #540abc;
}
Background
.bg-540abc {
  background-color: #540abc;
  color: #ffffff;
}
Border
.border-540abc {
  border: 2px solid #540abc;
}
CSS variables
:root {
  --color-primary: #540abc;
  --color-primary-rgb: 84 10 188;
  --color-primary-hsl: 265 90% 39%;
}
Gradient
.gradient-540abc {
  background: linear-gradient(135deg, #540abc, #ad0abc);
}
Colored shadow
.shadow-540abc {
  box-shadow: 0 8px 24px rgb(84 10 188 / 0.35);
}

Medium Blue
#540abc  rgb(84, 10, 188)  hsl(265, 90%, 39%)  Medium Blue
#72bc0a  rgb(114, 188, 10)  hsl(85, 90%, 39%)  Kelly Green
#bc540a  rgb(188, 84, 10)  hsl(25, 90%, 39%)  Burnt Orange
#0abc54  rgb(10, 188, 84)  hsl(145, 90%, 39%)  Emerald