#4802CD

#4802cd ≈ Medium Blue

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

#4802cd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 28.24% red, 0.78% green and 80.39% blue; printed in CMYK it uses 64.88% cyan, 99.02% magenta, 0% yellow and 19.61% black. Its hue angle is 260.69°, with 98.07% saturation and 40.59% 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.7:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.05.

Description generated from the measured properties of this color.

Conversions of #4802cd 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.0583

Readable text 9.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #463590 ≈ 0.001% of males
Protanopia #004ad2 ≈ 1.01% of males
Deuteranopia #003eca ≈ 1.27% of males
Tritanopia #005378 ≈ 0.0001% of males
Protanomaly #0039d0 ≈ 1.08% of males
Deuteranomaly #002fcb ≈ 4.63% of males
Tritanomaly #1840a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4802cd {
  color: #4802cd;
}
Background
.bg-4802cd {
  background-color: #4802cd;
  color: #ffffff;
}
Border
.border-4802cd {
  border: 2px solid #4802cd;
}
CSS variables
:root {
  --color-primary: #4802cd;
  --color-primary-rgb: 72 2 205;
  --color-primary-hsl: 261 98% 41%;
}
Gradient
.gradient-4802cd {
  background: linear-gradient(135deg, #4802cd, #ae02cd);
}
Colored shadow
.shadow-4802cd {
  box-shadow: 0 8px 24px rgb(72 2 205 / 0.35);
}

Medium Blue
#4802cd  rgb(72, 2, 205)  hsl(261, 98%, 41%)  Medium Blue
#87cd02  rgb(135, 205, 2)  hsl(81, 98%, 41%)  Yellow Green
#cd4802  rgb(205, 72, 2)  hsl(21, 98%, 41%)  Sinopia
#02cd48  rgb(2, 205, 72)  hsl(141, 98%, 41%)  Lime Green