#540BDD

#540bdd ≈ Ultramarine

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

#540bdd 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 86.67% blue; printed in CMYK it uses 61.99% cyan, 95.02% magenta, 0% yellow and 13.33% black. Its hue angle is 260.86°, with 90.52% saturation and 45.49% 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.51:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #540bdd 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.0734

Readable text 8.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #503c9c ≈ 0.001% of males
Protanopia #0052e2 ≈ 1.01% of males
Deuteranopia #0046da ≈ 1.27% of males
Tritanopia #005a82 ≈ 0.0001% of males
Protanomaly #0040e0 ≈ 1.08% of males
Deuteranomaly #0037db ≈ 4.63% of males
Tritanomaly #2b47ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#540bdd  rgb(84, 11, 221)  hsl(261, 91%, 45%)  Ultramarine
#94dd0b  rgb(148, 221, 11)  hsl(81, 91%, 45%)  Yellow Green
#dd540b  rgb(221, 84, 11)  hsl(21, 91%, 45%)  Flame
#0bdd54  rgb(11, 221, 84)  hsl(141, 91%, 45%)  Malachite