#2012CB

#2012cb ≈ Medium Blue

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

#2012cb 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 79.61% blue; printed in CMYK it uses 84.24% cyan, 91.13% magenta, 0% yellow and 20.39% black. Its hue angle is 244.54°, with 83.71% saturation and 43.33% 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.45:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.71.

Description generated from the measured properties of this color.

Conversions of #2012cb 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.0505

Readable text 10.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.01:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #35338e ≈ 0.001% of males
Protanopia #0048d0 ≈ 1.01% of males
Deuteranopia #0036c8 ≈ 1.27% of males
Tritanopia #005677 ≈ 0.0001% of males
Protanomaly #003ace ≈ 1.08% of males
Deuteranomaly #002bc9 ≈ 4.63% of males
Tritanomaly #0044a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2012cb  rgb(32, 18, 203)  hsl(245, 84%, 43%)  Medium Blue
#bdcb12  rgb(189, 203, 18)  hsl(65, 84%, 43%)  Pear
#cb2012  rgb(203, 32, 18)  hsl(5, 84%, 43%)  Rosso Corsa
#12cb20  rgb(18, 203, 32)  hsl(125, 84%, 43%)  Lime Green