#4C40DC

#4c40dc ≈ Iris

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#4c40dc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 29.8% red, 25.1% green and 86.27% blue; printed in CMYK it uses 65.45% cyan, 70.91% magenta, 0% yellow and 13.73% black. Its hue angle is 244.62°, with 69.03% saturation and 55.69% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 6.83:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 4.28.

Description generated from the measured properties of this color.

Conversions of #4c40dc 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.1037

Readable text 6.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #55519f ≈ 0.001% of males
Protanopia #0061e1 ≈ 1.01% of males
Deuteranopia #0054d9 ≈ 1.27% of males
Tritanopia #006b8a ≈ 0.0001% of males
Protanomaly #0056df ≈ 1.08% of males
Deuteranomaly #004dda ≈ 4.63% of males
Tritanomaly #0e5db1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c40dc {
  color: #4c40dc;
}
Background
.bg-4c40dc {
  background-color: #4c40dc;
  color: #ffffff;
}
Border
.border-4c40dc {
  border: 2px solid #4c40dc;
}
CSS variables
:root {
  --color-primary: #4c40dc;
  --color-primary-rgb: 76 64 220;
  --color-primary-hsl: 245 69% 56%;
}
Gradient
.gradient-4c40dc {
  background: linear-gradient(135deg, #4c40dc, #9a40dc);
}
Colored shadow
.shadow-4c40dc {
  box-shadow: 0 8px 24px rgb(76 64 220 / 0.35);
}

Iris
#4c40dc  rgb(76, 64, 220)  hsl(245, 69%, 56%)  Iris
#d0dc40  rgb(208, 220, 64)  hsl(65, 69%, 56%)  Pear
#dc4c40  rgb(220, 76, 64)  hsl(5, 69%, 56%)  Cinnabar
#40dc4c  rgb(64, 220, 76)  hsl(125, 69%, 56%)  Malachite