#401DCD

#401dcd ≈ Medium Blue

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

#401dcd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 11.37% green and 80.39% blue; printed in CMYK it uses 68.78% cyan, 85.85% magenta, 0% yellow and 19.61% black. Its hue angle is 251.93°, with 75.21% saturation and 45.88% 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 brand accents. White text on this color reaches a contrast ratio of 9.23:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.49.

Description generated from the measured properties of this color.

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

Readable text 9.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #453b91 ≈ 0.001% of males
Protanopia #004ed2 ≈ 1.01% of males
Deuteranopia #0040ca ≈ 1.27% of males
Tritanopia #00587a ≈ 0.0001% of males
Protanomaly #0040d0 ≈ 1.08% of males
Deuteranomaly #0035cb ≈ 4.63% of males
Tritanomaly #0047a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-401dcd {
  color: #401dcd;
}
Background
.bg-401dcd {
  background-color: #401dcd;
  color: #ffffff;
}
Border
.border-401dcd {
  border: 2px solid #401dcd;
}
CSS variables
:root {
  --color-primary: #401dcd;
  --color-primary-rgb: 64 29 205;
  --color-primary-hsl: 252 75% 46%;
}
Gradient
.gradient-401dcd {
  background: linear-gradient(135deg, #401dcd, #981dcd);
}
Colored shadow
.shadow-401dcd {
  box-shadow: 0 8px 24px rgb(64 29 205 / 0.35);
}

Medium Blue
#401dcd  rgb(64, 29, 205)  hsl(252, 75%, 46%)  Medium Blue
#aacd1d  rgb(170, 205, 29)  hsl(72, 75%, 46%)  Yellow Green
#cd401d  rgb(205, 64, 29)  hsl(12, 75%, 46%)  Sinopia
#1dcd40  rgb(29, 205, 64)  hsl(132, 75%, 46%)  Lime Green