#420FCB

#420fcb ≈ Medium Blue

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

#420fcb 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 79.61% blue; printed in CMYK it uses 67.49% cyan, 92.61% magenta, 0% yellow and 20.39% black. Its hue angle is 256.28°, with 86.24% saturation and 42.75% 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.71:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.69.

Description generated from the measured properties of this color.

Conversions of #420fcb 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.0581

Readable text 9.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #43368f ≈ 0.001% of males
Protanopia #004ad0 ≈ 1.01% of males
Deuteranopia #003dc8 ≈ 1.27% of males
Tritanopia #005477 ≈ 0.0001% of males
Protanomaly #003bce ≈ 1.08% of males
Deuteranomaly #0030c9 ≈ 4.63% of males
Tritanomaly #0042a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#420fcb  rgb(66, 15, 203)  hsl(256, 86%, 43%)  Medium Blue
#98cb0f  rgb(152, 203, 15)  hsl(76, 86%, 43%)  Yellow Green
#cb420f  rgb(203, 66, 15)  hsl(16, 86%, 43%)  Sinopia
#0fcb42  rgb(15, 203, 66)  hsl(136, 86%, 43%)  Lime Green