#5312CB

#5312cb ≈ Medium Blue

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

#5312cb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.55% red, 7.06% green and 79.61% blue; printed in CMYK it uses 59.11% cyan, 91.13% magenta, 0% yellow and 20.39% black. Its hue angle is 261.08°, 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 9.06:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.62.

Description generated from the measured properties of this color.

Conversions of #5312cb 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.0658

Readable text 9.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4d3a90 ≈ 0.001% of males
Protanopia #004dd0 ≈ 1.01% of males
Deuteranopia #0043c8 ≈ 1.27% of males
Tritanopia #055377 ≈ 0.0001% of males
Protanomaly #003dce ≈ 1.08% of males
Deuteranomaly #0036c9 ≈ 4.63% of males
Tritanomaly #3542a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#5312cb  rgb(83, 18, 203)  hsl(261, 84%, 43%)  Medium Blue
#8acb12  rgb(138, 203, 18)  hsl(81, 84%, 43%)  Yellow Green
#cb5312  rgb(203, 83, 18)  hsl(21, 84%, 43%)  Burnt Orange
#12cb53  rgb(18, 203, 83)  hsl(141, 84%, 43%)  Malachite