#320CB4

#320cb4 ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#320cb4 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.61% red, 4.71% green and 70.59% blue; printed in CMYK it uses 72.22% cyan, 93.33% magenta, 0% yellow and 29.41% black. Its hue angle is 253.57°, with 87.5% saturation and 37.65% 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 11.37:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.16.

Description generated from the measured properties of this color.

Conversions of #320cb4 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.0424

Readable text 11.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #372e7e ≈ 0.001% of males
Protanopia #0040b8 ≈ 1.01% of males
Deuteranopia #0033b1 ≈ 1.27% of males
Tritanopia #004a69 ≈ 0.0001% of males
Protanomaly #0033b6 ≈ 1.08% of males
Deuteranomaly #0028b2 ≈ 4.63% of males
Tritanomaly #003a8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-320cb4 {
  color: #320cb4;
}
Background
.bg-320cb4 {
  background-color: #320cb4;
  color: #ffffff;
}
Border
.border-320cb4 {
  border: 2px solid #320cb4;
}
CSS variables
:root {
  --color-primary: #320cb4;
  --color-primary-rgb: 50 12 180;
  --color-primary-hsl: 254 88% 38%;
}
Gradient
.gradient-320cb4 {
  background: linear-gradient(135deg, #320cb4, #860cb4);
}
Colored shadow
.shadow-320cb4 {
  box-shadow: 0 8px 24px rgb(50 12 180 / 0.35);
}

Medium Blue
#320cb4  rgb(50, 12, 180)  hsl(254, 88%, 38%)  Medium Blue
#8eb40c  rgb(142, 180, 12)  hsl(74, 88%, 38%)  Apple Green
#b4320c  rgb(180, 50, 12)  hsl(14, 88%, 38%)  Rust
#0cb432  rgb(12, 180, 50)  hsl(134, 88%, 38%)  Kelly Green