#2012EC

#2012ec ≈ Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#2012ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.55% red, 7.06% green and 92.55% blue; printed in CMYK it uses 86.44% cyan, 92.37% magenta, 0% yellow and 7.45% black. Its hue angle is 243.85°, with 85.83% saturation and 49.8% 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 8.9:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.86.

Description generated from the measured properties of this color.

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

Readable text 8.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #3d3ba5 ≈ 0.001% of males
Protanopia #0054f1 ≈ 1.01% of males
Deuteranopia #003ee9 ≈ 1.27% of males
Tritanopia #00648b ≈ 0.0001% of males
Protanomaly #0043ef ≈ 1.08% of males
Deuteranomaly #0031ea ≈ 4.63% of males
Tritanomaly #0050ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#2012ec  rgb(32, 18, 236)  hsl(244, 86%, 50%)  Blue
#deec12  rgb(222, 236, 18)  hsl(64, 86%, 50%)  Pear
#ec2012  rgb(236, 32, 18)  hsl(4, 86%, 50%)  Lust
#12ec20  rgb(18, 236, 32)  hsl(124, 86%, 50%)  Lime