#421CB2

#421cb2 ≈ Medium Blue

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

#421cb2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.88% red, 10.98% green and 69.8% blue; printed in CMYK it uses 62.92% cyan, 84.27% magenta, 0% yellow and 30.2% black. Its hue angle is 255.2°, with 72.82% saturation and 40.39% 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.29:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.84.

Description generated from the measured properties of this color.

Conversions of #421cb2 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.052

Readable text 10.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.04:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #41357e ≈ 0.001% of males
Protanopia #0045b6 ≈ 1.01% of males
Deuteranopia #003baf ≈ 1.27% of males
Tritanopia #004c6a ≈ 0.0001% of males
Protanomaly #0039b4 ≈ 1.08% of males
Deuteranomaly #0031b0 ≈ 4.63% of males
Tritanomaly #203e8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-421cb2 {
  color: #421cb2;
}
Background
.bg-421cb2 {
  background-color: #421cb2;
  color: #ffffff;
}
Border
.border-421cb2 {
  border: 2px solid #421cb2;
}
CSS variables
:root {
  --color-primary: #421cb2;
  --color-primary-rgb: 66 28 178;
  --color-primary-hsl: 255 73% 40%;
}
Gradient
.gradient-421cb2 {
  background: linear-gradient(135deg, #421cb2, #8d1cb2);
}
Colored shadow
.shadow-421cb2 {
  box-shadow: 0 8px 24px rgb(66 28 178 / 0.35);
}

Medium Blue
#421cb2  rgb(66, 28, 178)  hsl(255, 73%, 40%)  Medium Blue
#8cb21c  rgb(140, 178, 28)  hsl(75, 73%, 40%)  Apple Green
#b2421c  rgb(178, 66, 28)  hsl(15, 73%, 40%)  Rust
#1cb242  rgb(28, 178, 66)  hsl(135, 73%, 40%)  Kelly Green