#2018CD

#2018cd ≈ Medium Blue

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

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

Description generated from the measured properties of this color.

Conversions of #2018cd 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.0537

Readable text 10.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #37358f ≈ 0.001% of males
Protanopia #004ad2 ≈ 1.01% of males
Deuteranopia #0038ca ≈ 1.27% of males
Tritanopia #005879 ≈ 0.0001% of males
Protanomaly #003cd0 ≈ 1.08% of males
Deuteranomaly #002ecb ≈ 4.63% of males
Tritanomaly #0047a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2018cd  rgb(32, 24, 205)  hsl(243, 79%, 45%)  Medium Blue
#c5cd18  rgb(197, 205, 24)  hsl(63, 79%, 45%)  Pear
#cd2018  rgb(205, 32, 24)  hsl(3, 79%, 45%)  Venetian Red
#18cd20  rgb(24, 205, 32)  hsl(123, 79%, 45%)  Lime Green