#2012AB

#2012ab ≈ Zaffre

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#2012ab is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 12.55% red, 7.06% green and 67.06% blue; printed in CMYK it uses 81.29% cyan, 89.47% magenta, 0% yellow and 32.94% black. Its hue angle is 245.49°, with 80.95% saturation and 37.06% 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 12.1:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.48.

Description generated from the measured properties of this color.

Conversions of #2012ab into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0368

Readable text 12.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #2e2b77 ≈ 0.001% of males
Protanopia #003daf ≈ 1.01% of males
Deuteranopia #002ea9 ≈ 1.27% of males
Tritanopia #004864 ≈ 0.0001% of males
Protanomaly #0031ad ≈ 1.08% of males
Deuteranomaly #0025aa ≈ 4.63% of males
Tritanomaly #003986 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#2012ab  rgb(32, 18, 171)  hsl(245, 81%, 37%)  Zaffre
#9dab12  rgb(157, 171, 18)  hsl(65, 81%, 37%)  Apple Green
#ab2012  rgb(171, 32, 18)  hsl(5, 81%, 37%)  Rufous
#12ab20  rgb(18, 171, 32)  hsl(125, 81%, 37%)  Kelly Green