#401CB7

#401cb7 ≈ Medium Blue

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

#401cb7 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 10.98% green and 71.76% blue; printed in CMYK it uses 65.03% cyan, 84.7% magenta, 0% yellow and 28.24% black. Its hue angle is 253.94°, with 73.46% saturation and 41.37% 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 10.16:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #401cb7 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.0534

Readable text 10.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #413682 ≈ 0.001% of males
Protanopia #0046bb ≈ 1.01% of males
Deuteranopia #003cb4 ≈ 1.27% of males
Tritanopia #004e6d ≈ 0.0001% of males
Protanomaly #003ab9 ≈ 1.08% of males
Deuteranomaly #0032b5 ≈ 4.63% of males
Tritanomaly #164090 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-401cb7 {
  color: #401cb7;
}
Background
.bg-401cb7 {
  background-color: #401cb7;
  color: #ffffff;
}
Border
.border-401cb7 {
  border: 2px solid #401cb7;
}
CSS variables
:root {
  --color-primary: #401cb7;
  --color-primary-rgb: 64 28 183;
  --color-primary-hsl: 254 73% 41%;
}
Gradient
.gradient-401cb7 {
  background: linear-gradient(135deg, #401cb7, #8e1cb7);
}
Colored shadow
.shadow-401cb7 {
  box-shadow: 0 8px 24px rgb(64 28 183 / 0.35);
}

Medium Blue
#401cb7  rgb(64, 28, 183)  hsl(254, 73%, 41%)  Medium Blue
#93b71c  rgb(147, 183, 28)  hsl(74, 73%, 41%)  Apple Green
#b7401c  rgb(183, 64, 28)  hsl(14, 73%, 41%)  Rust
#1cb740  rgb(28, 183, 64)  hsl(134, 73%, 41%)  Kelly Green