#540FC0

#540fc0 ≈ Medium Blue

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

#540fc0 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 75.29% blue; printed in CMYK it uses 56.25% cyan, 92.19% magenta, 0% yellow and 24.71% black. Its hue angle is 263.39°, with 85.51% saturation and 40.59% 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.52:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.61.

Description generated from the measured properties of this color.

Conversions of #540fc0 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.0603

Readable text 9.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #4c3788 ≈ 0.001% of males
Protanopia #0049c4 ≈ 1.01% of males
Deuteranopia #0041bd ≈ 1.27% of males
Tritanopia #234e71 ≈ 0.0001% of males
Protanomaly #003ac3 ≈ 1.08% of males
Deuteranomaly #0034be ≈ 4.63% of males
Tritanomaly #3c3d97 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#540fc0  rgb(84, 15, 192)  hsl(263, 86%, 41%)  Medium Blue
#7bc00f  rgb(123, 192, 15)  hsl(83, 86%, 41%)  Apple Green
#c0540f  rgb(192, 84, 15)  hsl(23, 86%, 41%)  Burnt Orange
#0fc054  rgb(15, 192, 84)  hsl(143, 86%, 41%)  Emerald