#4018CD

#4018cd ≈ Medium Blue

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

#4018cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 9.41% green and 80.39% blue; printed in CMYK it uses 68.78% cyan, 88.29% magenta, 0% yellow and 19.61% black. Its hue angle is 253.26°, with 79.04% saturation and 44.9% 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 9.42:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.07.

Description generated from the measured properties of this color.

Conversions of #4018cd 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.0615

Readable text 9.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #443991 ≈ 0.001% of males
Protanopia #004dd2 ≈ 1.01% of males
Deuteranopia #003fca ≈ 1.27% of males
Tritanopia #005779 ≈ 0.0001% of males
Protanomaly #003ed0 ≈ 1.08% of males
Deuteranomaly #0033cb ≈ 4.63% of males
Tritanomaly #0046a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4018cd {
  color: #4018cd;
}
Background
.bg-4018cd {
  background-color: #4018cd;
  color: #ffffff;
}
Border
.border-4018cd {
  border: 2px solid #4018cd;
}
CSS variables
:root {
  --color-primary: #4018cd;
  --color-primary-rgb: 64 24 205;
  --color-primary-hsl: 253 79% 45%;
}
Gradient
.gradient-4018cd {
  background: linear-gradient(135deg, #4018cd, #9a18cd);
}
Colored shadow
.shadow-4018cd {
  box-shadow: 0 8px 24px rgb(64 24 205 / 0.35);
}

Medium Blue
#4018cd  rgb(64, 24, 205)  hsl(253, 79%, 45%)  Medium Blue
#a5cd18  rgb(165, 205, 24)  hsl(73, 79%, 45%)  Yellow Green
#cd4018  rgb(205, 64, 24)  hsl(13, 79%, 45%)  Sinopia
#18cd40  rgb(24, 205, 64)  hsl(133, 79%, 45%)  Lime Green