#401DCF

#401dcf ≈ Medium Blue

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

#401dcf 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 81.18% blue; printed in CMYK it uses 69.08% cyan, 85.99% magenta, 0% yellow and 18.82% black. Its hue angle is 251.8°, with 75.42% saturation and 46.27% 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.15:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.58.

Description generated from the measured properties of this color.

Conversions of #401dcf 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.0647

Readable text 9.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #453b92 ≈ 0.001% of males
Protanopia #004fd4 ≈ 1.01% of males
Deuteranopia #0041cc ≈ 1.27% of males
Tritanopia #00597b ≈ 0.0001% of males
Protanomaly #0040d2 ≈ 1.08% of males
Deuteranomaly #0035cd ≈ 4.63% of males
Tritanomaly #0048a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#401dcf  rgb(64, 29, 207)  hsl(252, 75%, 46%)  Medium Blue
#accf1d  rgb(172, 207, 29)  hsl(72, 75%, 46%)  Yellow Green
#cf401d  rgb(207, 64, 29)  hsl(12, 75%, 46%)  Sinopia
#1dcf40  rgb(29, 207, 64)  hsl(132, 75%, 46%)  Lime Green