#401EB2

#401eb2 ≈ Medium Blue

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

#401eb2 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 69.8% blue; printed in CMYK it uses 64.04% cyan, 83.15% magenta, 0% yellow and 30.2% black. Its hue angle is 253.78°, with 71.15% saturation and 40.78% 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.26:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.85.

Description generated from the measured properties of this color.

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

Readable text 10.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.05:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #40367e ≈ 0.001% of males
Protanopia #0045b6 ≈ 1.01% of males
Deuteranopia #003baf ≈ 1.27% of males
Tritanopia #004d6a ≈ 0.0001% of males
Protanomaly #0039b4 ≈ 1.08% of males
Deuteranomaly #0032b0 ≈ 4.63% of males
Tritanomaly #1b3f8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#401eb2  rgb(64, 30, 178)  hsl(254, 71%, 41%)  Medium Blue
#90b21e  rgb(144, 178, 30)  hsl(74, 71%, 41%)  Apple Green
#b2401e  rgb(178, 64, 30)  hsl(14, 71%, 41%)  Rust
#1eb240  rgb(30, 178, 64)  hsl(134, 71%, 41%)  Kelly Green