#420FC5

#420fc5 ≈ Medium Blue

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

#420fc5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.88% red, 5.88% green and 77.25% blue; printed in CMYK it uses 66.5% cyan, 92.39% magenta, 0% yellow and 22.75% black. Its hue angle is 256.81°, with 85.85% saturation and 41.57% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.97:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #420fc5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3300cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0553

Readable text 9.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #42358b ≈ 0.001% of males
Protanopia #0048c9 ≈ 1.01% of males
Deuteranopia #003cc2 ≈ 1.27% of males
Tritanopia #005174 ≈ 0.0001% of males
Protanomaly #0039c8 ≈ 1.08% of males
Deuteranomaly #002fc3 ≈ 4.63% of males
Tritanomaly #09409b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-420fc5 {
  color: #420fc5;
}
Background
.bg-420fc5 {
  background-color: #420fc5;
  color: #ffffff;
}
Border
.border-420fc5 {
  border: 2px solid #420fc5;
}
CSS variables
:root {
  --color-primary: #420fc5;
  --color-primary-rgb: 66 15 197;
  --color-primary-hsl: 257 86% 42%;
}
Gradient
.gradient-420fc5 {
  background: linear-gradient(135deg, #420fc5, #9d0fc5);
}
Colored shadow
.shadow-420fc5 {
  box-shadow: 0 8px 24px rgb(66 15 197 / 0.35);
}

Medium Blue
#420fc5  rgb(66, 15, 197)  hsl(257, 86%, 42%)  Medium Blue
#92c50f  rgb(146, 197, 15)  hsl(77, 86%, 42%)  Yellow Green
#c5420f  rgb(197, 66, 15)  hsl(17, 86%, 42%)  Sinopia
#0fc542  rgb(15, 197, 66)  hsl(137, 86%, 42%)  Lime Green