#540FC3

#540fc3 ≈ Medium Blue

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

#540fc3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.94% red, 5.88% green and 76.47% blue; printed in CMYK it uses 56.92% cyan, 92.31% magenta, 0% yellow and 23.53% black. Its hue angle is 263°, with 85.71% saturation and 41.18% 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.4:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.57.

Description generated from the measured properties of this color.

Conversions of #540fc3 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.0617

Readable text 9.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #4c388a ≈ 0.001% of males
Protanopia #004ac7 ≈ 1.01% of males
Deuteranopia #0042c0 ≈ 1.27% of males
Tritanopia #1f4f72 ≈ 0.0001% of males
Protanomaly #003ac6 ≈ 1.08% of males
Deuteranomaly #0034c1 ≈ 4.63% of males
Tritanomaly #3b3e99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540fc3 {
  color: #540fc3;
}
Background
.bg-540fc3 {
  background-color: #540fc3;
  color: #ffffff;
}
Border
.border-540fc3 {
  border: 2px solid #540fc3;
}
CSS variables
:root {
  --color-primary: #540fc3;
  --color-primary-rgb: 84 15 195;
  --color-primary-hsl: 263 86% 41%;
}
Gradient
.gradient-540fc3 {
  background: linear-gradient(135deg, #540fc3, #ae0fc3);
}
Colored shadow
.shadow-540fc3 {
  box-shadow: 0 8px 24px rgb(84 15 195 / 0.35);
}

Medium Blue
#540fc3  rgb(84, 15, 195)  hsl(263, 86%, 41%)  Medium Blue
#7ec30f  rgb(126, 195, 15)  hsl(83, 86%, 41%)  Yellow Green
#c3540f  rgb(195, 84, 15)  hsl(23, 86%, 41%)  Burnt Orange
#0fc354  rgb(15, 195, 84)  hsl(143, 86%, 41%)  Emerald