#2012CC

#2012cc ≈ Medium Blue

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

#2012cc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 12.55% red, 7.06% green and 80% blue; printed in CMYK it uses 84.31% cyan, 91.18% magenta, 0% yellow and 20% black. Its hue angle is 244.52°, with 83.78% saturation and 43.53% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.4:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.76.

Description generated from the measured properties of this color.

Conversions of #2012cc 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.051

Readable text 10.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #36338e ≈ 0.001% of males
Protanopia #0049d1 ≈ 1.01% of males
Deuteranopia #0036c9 ≈ 1.27% of males
Tritanopia #005678 ≈ 0.0001% of males
Protanomaly #003acf ≈ 1.08% of males
Deuteranomaly #002bca ≈ 4.63% of males
Tritanomaly #0044a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2012cc {
  color: #2012cc;
}
Background
.bg-2012cc {
  background-color: #2012cc;
  color: #ffffff;
}
Border
.border-2012cc {
  border: 2px solid #2012cc;
}
CSS variables
:root {
  --color-primary: #2012cc;
  --color-primary-rgb: 32 18 204;
  --color-primary-hsl: 245 84% 44%;
}
Gradient
.gradient-2012cc {
  background: linear-gradient(135deg, #2012cc, #7d12cc);
}
Colored shadow
.shadow-2012cc {
  box-shadow: 0 8px 24px rgb(32 18 204 / 0.35);
}

Medium Blue
#2012cc  rgb(32, 18, 204)  hsl(245, 84%, 44%)  Medium Blue
#becc12  rgb(190, 204, 18)  hsl(65, 84%, 44%)  Pear
#cc2012  rgb(204, 32, 18)  hsl(5, 84%, 44%)  Rosso Corsa
#12cc20  rgb(18, 204, 32)  hsl(125, 84%, 44%)  Lime Green