#320CD2

#320cd2 ≈ Medium Blue

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

#320cd2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 19.61% red, 4.71% green and 82.35% blue; printed in CMYK it uses 76.19% cyan, 94.29% magenta, 0% yellow and 17.65% black. Its hue angle is 251.52°, with 89.19% saturation and 43.53% 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.91:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.68.

Description generated from the measured properties of this color.

Conversions of #320cd2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3300cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0559

Readable text 9.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #3d3593 ≈ 0.001% of males
Protanopia #004bd7 ≈ 1.01% of males
Deuteranopia #003acf ≈ 1.27% of males
Tritanopia #00577b ≈ 0.0001% of males
Protanomaly #003bd5 ≈ 1.08% of males
Deuteranomaly #002dd0 ≈ 4.63% of males
Tritanomaly #0045a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-320cd2 {
  color: #320cd2;
}
Background
.bg-320cd2 {
  background-color: #320cd2;
  color: #ffffff;
}
Border
.border-320cd2 {
  border: 2px solid #320cd2;
}
CSS variables
:root {
  --color-primary: #320cd2;
  --color-primary-rgb: 50 12 210;
  --color-primary-hsl: 252 89% 44%;
}
Gradient
.gradient-320cd2 {
  background: linear-gradient(135deg, #320cd2, #950cd2);
}
Colored shadow
.shadow-320cd2 {
  box-shadow: 0 8px 24px rgb(50 12 210 / 0.35);
}

Medium Blue
#320cd2  rgb(50, 12, 210)  hsl(252, 89%, 44%)  Medium Blue
#acd20c  rgb(172, 210, 12)  hsl(72, 89%, 44%)  Yellow Green
#d2320c  rgb(210, 50, 12)  hsl(12, 89%, 44%)  Sinopia
#0cd232  rgb(12, 210, 50)  hsl(132, 89%, 44%)  Lime Green