#540DE2

#540de2 ≈ Ultramarine

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

#540de2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 5.1% green and 88.63% blue; printed in CMYK it uses 62.83% cyan, 94.25% magenta, 0% yellow and 11.37% black. Its hue angle is 260°, with 89.12% saturation and 46.86% 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.29:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #540de2 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.0766

Readable text 8.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #513ea0 ≈ 0.001% of males
Protanopia #0054e7 ≈ 1.01% of males
Deuteranopia #0047df ≈ 1.27% of males
Tritanopia #005d85 ≈ 0.0001% of males
Protanomaly #0042e5 ≈ 1.08% of males
Deuteranomaly #0038e0 ≈ 4.63% of males
Tritanomaly #2749b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540de2 {
  color: #540de2;
}
Background
.bg-540de2 {
  background-color: #540de2;
  color: #ffffff;
}
Border
.border-540de2 {
  border: 2px solid #540de2;
}
CSS variables
:root {
  --color-primary: #540de2;
  --color-primary-rgb: 84 13 226;
  --color-primary-hsl: 260 89% 47%;
}
Gradient
.gradient-540de2 {
  background: linear-gradient(135deg, #540de2, #be0de2);
}
Colored shadow
.shadow-540de2 {
  box-shadow: 0 8px 24px rgb(84 13 226 / 0.35);
}

Ultramarine
#540de2  rgb(84, 13, 226)  hsl(260, 89%, 47%)  Ultramarine
#9be20d  rgb(155, 226, 13)  hsl(80, 89%, 47%)  Inchworm
#e2540d  rgb(226, 84, 13)  hsl(20, 89%, 47%)  Flame
#0de254  rgb(13, 226, 84)  hsl(140, 89%, 47%)  Malachite