#3A18CD

#3a18cd ≈ Medium Blue

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

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

Description generated from the measured properties of this color.

Conversions of #3a18cd 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.0596

Readable text 9.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #413890 ≈ 0.001% of males
Protanopia #004cd2 ≈ 1.01% of males
Deuteranopia #003dca ≈ 1.27% of males
Tritanopia #005779 ≈ 0.0001% of males
Protanomaly #003dd0 ≈ 1.08% of males
Deuteranomaly #0032cb ≈ 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-3a18cd {
  color: #3a18cd;
}
Background
.bg-3a18cd {
  background-color: #3a18cd;
  color: #ffffff;
}
Border
.border-3a18cd {
  border: 2px solid #3a18cd;
}
CSS variables
:root {
  --color-primary: #3a18cd;
  --color-primary-rgb: 58 24 205;
  --color-primary-hsl: 251 79% 45%;
}
Gradient
.gradient-3a18cd {
  background: linear-gradient(135deg, #3a18cd, #9418cd);
}
Colored shadow
.shadow-3a18cd {
  box-shadow: 0 8px 24px rgb(58 24 205 / 0.35);
}

Medium Blue
#3a18cd  rgb(58, 24, 205)  hsl(251, 79%, 45%)  Medium Blue
#abcd18  rgb(171, 205, 24)  hsl(71, 79%, 45%)  Yellow Green
#cd3a18  rgb(205, 58, 24)  hsl(11, 79%, 45%)  Sinopia
#18cd3a  rgb(24, 205, 58)  hsl(131, 79%, 45%)  Lime Green