#2012C6

#2012c6 ≈ Medium Blue

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

#2012c6 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 77.65% blue; printed in CMYK it uses 83.84% cyan, 90.91% magenta, 0% yellow and 22.35% black. Its hue angle is 244.67°, with 83.33% saturation and 42.35% 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.7:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.62.

Description generated from the measured properties of this color.

Conversions of #2012c6 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.0482

Readable text 10.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #34328a ≈ 0.001% of males
Protanopia #0047ca ≈ 1.01% of males
Deuteranopia #0034c3 ≈ 1.27% of males
Tritanopia #005474 ≈ 0.0001% of males
Protanomaly #0038c9 ≈ 1.08% of males
Deuteranomaly #002ac4 ≈ 4.63% of males
Tritanomaly #00429c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2012c6  rgb(32, 18, 198)  hsl(245, 83%, 42%)  Medium Blue
#b8c612  rgb(184, 198, 18)  hsl(65, 83%, 42%)  Pear
#c62012  rgb(198, 32, 18)  hsl(5, 83%, 42%)  Venetian Red
#12c620  rgb(18, 198, 32)  hsl(125, 83%, 42%)  Lime Green