#401ECF

#401ecf ≈ Medium Blue

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

#401ecf 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.76% green and 81.18% blue; printed in CMYK it uses 69.08% cyan, 85.51% magenta, 0% yellow and 18.82% black. Its hue angle is 251.53°, with 74.68% saturation and 46.47% 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.11:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.68.

Description generated from the measured properties of this color.

Conversions of #401ecf 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.0652

Readable text 9.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.3: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 #0036cd ≈ 4.63% of males
Tritanomaly #0048a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#401ecf  rgb(64, 30, 207)  hsl(252, 75%, 46%)  Medium Blue
#adcf1e  rgb(173, 207, 30)  hsl(72, 75%, 46%)  Yellow Green
#cf401e  rgb(207, 64, 30)  hsl(12, 75%, 46%)  Sinopia
#1ecf40  rgb(30, 207, 64)  hsl(132, 75%, 46%)  Lime Green