#540BDB

#540bdb ≈ Ultramarine

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

#540bdb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 4.31% green and 85.88% blue; printed in CMYK it uses 61.64% cyan, 94.98% magenta, 0% yellow and 14.12% black. Its hue angle is 261.06°, with 90.43% saturation and 45.1% 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 8.58:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.93.

Description generated from the measured properties of this color.

Conversions of #540bdb 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.0724

Readable text 8.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #4f3c9b ≈ 0.001% of males
Protanopia #0051e0 ≈ 1.01% of males
Deuteranopia #0046d8 ≈ 1.27% of males
Tritanopia #005981 ≈ 0.0001% of males
Protanomaly #0040de ≈ 1.08% of males
Deuteranomaly #0037d9 ≈ 4.63% of males
Tritanomaly #2d46ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540bdb {
  color: #540bdb;
}
Background
.bg-540bdb {
  background-color: #540bdb;
  color: #ffffff;
}
Border
.border-540bdb {
  border: 2px solid #540bdb;
}
CSS variables
:root {
  --color-primary: #540bdb;
  --color-primary-rgb: 84 11 219;
  --color-primary-hsl: 261 90% 45%;
}
Gradient
.gradient-540bdb {
  background: linear-gradient(135deg, #540bdb, #bc0bdb);
}
Colored shadow
.shadow-540bdb {
  box-shadow: 0 8px 24px rgb(84 11 219 / 0.35);
}

Ultramarine
#540bdb  rgb(84, 11, 219)  hsl(261, 90%, 45%)  Ultramarine
#92db0b  rgb(146, 219, 11)  hsl(81, 90%, 45%)  Yellow Green
#db540b  rgb(219, 84, 11)  hsl(21, 90%, 45%)  Flame
#0bdb54  rgb(11, 219, 84)  hsl(141, 90%, 45%)  Malachite