#540BB9

#540bb9 ≈ Medium Blue

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

#540bb9 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.94% red, 4.31% green and 72.55% blue; printed in CMYK it uses 54.59% cyan, 94.05% magenta, 0% yellow and 27.45% black. Its hue angle is 265.17°, with 88.78% saturation and 38.43% 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.88:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.75.

Description generated from the measured properties of this color.

Conversions of #540bb9 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.0563

Readable text 9.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #4a3583 ≈ 0.001% of males
Protanopia #0046bd ≈ 1.01% of males
Deuteranopia #003fb6 ≈ 1.27% of males
Tritanopia #2b4a6c ≈ 0.0001% of males
Protanomaly #0037bc ≈ 1.08% of males
Deuteranomaly #0032b7 ≈ 4.63% of males
Tritanomaly #3f3a91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540bb9 {
  color: #540bb9;
}
Background
.bg-540bb9 {
  background-color: #540bb9;
  color: #ffffff;
}
Border
.border-540bb9 {
  border: 2px solid #540bb9;
}
CSS variables
:root {
  --color-primary: #540bb9;
  --color-primary-rgb: 84 11 185;
  --color-primary-hsl: 265 89% 38%;
}
Gradient
.gradient-540bb9 {
  background: linear-gradient(135deg, #540bb9, #ab0bb9);
}
Colored shadow
.shadow-540bb9 {
  box-shadow: 0 8px 24px rgb(84 11 185 / 0.35);
}

Medium Blue
#540bb9  rgb(84, 11, 185)  hsl(265, 89%, 38%)  Medium Blue
#70b90b  rgb(112, 185, 11)  hsl(85, 89%, 38%)  Kelly Green
#b9540b  rgb(185, 84, 11)  hsl(25, 89%, 38%)  Burnt Orange
#0bb954  rgb(11, 185, 84)  hsl(145, 89%, 38%)  Medium Sea Green