#2012CF

#2012cf ≈ Medium Blue

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

#2012cf 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 81.18% blue; printed in CMYK it uses 84.54% cyan, 91.3% magenta, 0% yellow and 18.82% black. Its hue angle is 244.44°, with 84% saturation and 44.12% 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.25:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #2012cf 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.0524

Readable text 10.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.05:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #363491 ≈ 0.001% of males
Protanopia #004ad4 ≈ 1.01% of males
Deuteranopia #0037cc ≈ 1.27% of males
Tritanopia #00587a ≈ 0.0001% of males
Protanomaly #003bd2 ≈ 1.08% of males
Deuteranomaly #002ccd ≈ 4.63% of males
Tritanomaly #0046a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2012cf  rgb(32, 18, 207)  hsl(244, 84%, 44%)  Medium Blue
#c1cf12  rgb(193, 207, 18)  hsl(64, 84%, 44%)  Pear
#cf2012  rgb(207, 32, 18)  hsl(4, 84%, 44%)  Rosso Corsa
#12cf20  rgb(18, 207, 32)  hsl(124, 84%, 44%)  Lime Green