#5012DC

#5012dc ≈ Ultramarine

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

#5012dc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.37% red, 7.06% green and 86.27% blue; printed in CMYK it uses 63.64% cyan, 91.82% magenta, 0% yellow and 13.73% black. Its hue angle is 258.42°, with 84.87% saturation and 46.67% 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.53:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #5012dc 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.0731

Readable text 8.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #4e3d9b ≈ 0.001% of males
Protanopia #0052e1 ≈ 1.01% of males
Deuteranopia #0046d9 ≈ 1.27% of males
Tritanopia #005b82 ≈ 0.0001% of males
Protanomaly #0041df ≈ 1.08% of males
Deuteranomaly #0037da ≈ 4.63% of males
Tritanomaly #2148ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5012dc {
  color: #5012dc;
}
Background
.bg-5012dc {
  background-color: #5012dc;
  color: #ffffff;
}
Border
.border-5012dc {
  border: 2px solid #5012dc;
}
CSS variables
:root {
  --color-primary: #5012dc;
  --color-primary-rgb: 80 18 220;
  --color-primary-hsl: 258 85% 47%;
}
Gradient
.gradient-5012dc {
  background: linear-gradient(135deg, #5012dc, #b512dc);
}
Colored shadow
.shadow-5012dc {
  box-shadow: 0 8px 24px rgb(80 18 220 / 0.35);
}

Ultramarine
#5012dc  rgb(80, 18, 220)  hsl(258, 85%, 47%)  Ultramarine
#9edc12  rgb(158, 220, 18)  hsl(78, 85%, 47%)  Yellow Green
#dc5012  rgb(220, 80, 18)  hsl(18, 85%, 47%)  Flame
#12dc50  rgb(18, 220, 80)  hsl(138, 85%, 47%)  Malachite