#2012BA

#2012ba ≈ Medium Blue

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

#2012ba 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 72.94% blue; printed in CMYK it uses 82.8% cyan, 90.32% magenta, 0% yellow and 27.06% black. Its hue angle is 245°, with 82.35% saturation and 40% 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 11.31:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.32.

Description generated from the measured properties of this color.

Conversions of #2012ba 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.0428

Readable text 11.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #322f82 ≈ 0.001% of males
Protanopia #0042be ≈ 1.01% of males
Deuteranopia #0032b7 ≈ 1.27% of males
Tritanopia #004e6d ≈ 0.0001% of males
Protanomaly #0035bd ≈ 1.08% of males
Deuteranomaly #0028b8 ≈ 4.63% of males
Tritanomaly #003e92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2012ba  rgb(32, 18, 186)  hsl(245, 82%, 40%)  Medium Blue
#acba12  rgb(172, 186, 18)  hsl(65, 82%, 40%)  Apple Green
#ba2012  rgb(186, 32, 18)  hsl(5, 82%, 40%)  Venetian Red
#12ba20  rgb(18, 186, 32)  hsl(125, 82%, 40%)  Kelly Green