#4A08CD

#4a08cd ≈ Medium Blue

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

#4a08cd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 29.02% red, 3.14% green and 80.39% blue; printed in CMYK it uses 63.9% cyan, 96.1% magenta, 0% yellow and 19.61% black. Its hue angle is 260.1°, with 92.49% saturation and 41.76% 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.51:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.38.

Description generated from the measured properties of this color.

Conversions of #4a08cd 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.0604

Readable text 9.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #473690 ≈ 0.001% of males
Protanopia #004bd2 ≈ 1.01% of males
Deuteranopia #003fca ≈ 1.27% of males
Tritanopia #005378 ≈ 0.0001% of males
Protanomaly #003bd0 ≈ 1.08% of males
Deuteranomaly #0031cb ≈ 4.63% of males
Tritanomaly #1f41a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4a08cd {
  color: #4a08cd;
}
Background
.bg-4a08cd {
  background-color: #4a08cd;
  color: #ffffff;
}
Border
.border-4a08cd {
  border: 2px solid #4a08cd;
}
CSS variables
:root {
  --color-primary: #4a08cd;
  --color-primary-rgb: 74 8 205;
  --color-primary-hsl: 260 92% 42%;
}
Gradient
.gradient-4a08cd {
  background: linear-gradient(135deg, #4a08cd, #ac08cd);
}
Colored shadow
.shadow-4a08cd {
  box-shadow: 0 8px 24px rgb(74 8 205 / 0.35);
}

Medium Blue
#4a08cd  rgb(74, 8, 205)  hsl(260, 92%, 42%)  Medium Blue
#8bcd08  rgb(139, 205, 8)  hsl(80, 92%, 42%)  Yellow Green
#cd4a08  rgb(205, 74, 8)  hsl(20, 92%, 42%)  Sinopia
#08cd4a  rgb(8, 205, 74)  hsl(140, 92%, 42%)  Lime Green