#5812CB

#5812cb ≈ Ultramarine

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5812cb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.51% red, 7.06% green and 79.61% blue; printed in CMYK it uses 56.65% cyan, 91.13% magenta, 0% yellow and 20.39% black. Its hue angle is 262.7°, with 83.71% saturation and 43.33% 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.88:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 5.78.

Description generated from the measured properties of this color.

Conversions of #5812cb 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.0682

Readable text 8.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #503b90 ≈ 0.001% of males
Protanopia #004dd0 ≈ 1.01% of males
Deuteranopia #0045c8 ≈ 1.27% of males
Tritanopia #215377 ≈ 0.0001% of males
Protanomaly #003ece ≈ 1.08% of males
Deuteranomaly #0037c9 ≈ 4.63% of males
Tritanomaly #3e42a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5812cb {
  color: #5812cb;
}
Background
.bg-5812cb {
  background-color: #5812cb;
  color: #ffffff;
}
Border
.border-5812cb {
  border: 2px solid #5812cb;
}
CSS variables
:root {
  --color-primary: #5812cb;
  --color-primary-rgb: 88 18 203;
  --color-primary-hsl: 263 84% 43%;
}
Gradient
.gradient-5812cb {
  background: linear-gradient(135deg, #5812cb, #b412cb);
}
Colored shadow
.shadow-5812cb {
  box-shadow: 0 8px 24px rgb(88 18 203 / 0.35);
}

Ultramarine
#5812cb  rgb(88, 18, 203)  hsl(263, 84%, 43%)  Ultramarine
#85cb12  rgb(133, 203, 18)  hsl(83, 84%, 43%)  Yellow Green
#cb5812  rgb(203, 88, 18)  hsl(23, 84%, 43%)  Burnt Orange
#12cb58  rgb(18, 203, 88)  hsl(143, 84%, 43%)  Malachite