#2012AF

#2012af ≈ Zaffre

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

#2012af 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 68.63% blue; printed in CMYK it uses 81.71% cyan, 89.71% magenta, 0% yellow and 31.37% black. Its hue angle is 245.35°, with 81.35% saturation and 37.84% 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.88:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.78.

Description generated from the measured properties of this color.

Conversions of #2012af 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.0383

Readable text 11.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #2f2c7a ≈ 0.001% of males
Protanopia #003fb3 ≈ 1.01% of males
Deuteranopia #002fad ≈ 1.27% of males
Tritanopia #004a67 ≈ 0.0001% of males
Protanomaly #0032b1 ≈ 1.08% of males
Deuteranomaly #0026ae ≈ 4.63% of males
Tritanomaly #003b8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#2012af  rgb(32, 18, 175)  hsl(245, 81%, 38%)  Zaffre
#a1af12  rgb(161, 175, 18)  hsl(65, 81%, 38%)  Apple Green
#af2012  rgb(175, 32, 18)  hsl(5, 81%, 38%)  Rufous
#12af20  rgb(18, 175, 32)  hsl(125, 81%, 38%)  Kelly Green