#142DEC

#142dec ≈ Blue

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

#142dec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 7.84% red, 17.65% green and 92.55% blue; printed in CMYK it uses 91.53% cyan, 80.93% magenta, 0% yellow and 7.45% black. Its hue angle is 233.06°, with 85.04% saturation and 50.2% 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.03:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.14.

Description generated from the measured properties of this color.

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

Readable text 8.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4045a7 ≈ 0.001% of males
Protanopia #005bf1 ≈ 1.01% of males
Deuteranopia #0045e9 ≈ 1.27% of males
Tritanopia #006b8f ≈ 0.0001% of males
Protanomaly #004def ≈ 1.08% of males
Deuteranomaly #003dea ≈ 4.63% of males
Tritanomaly #0059bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-142dec {
  color: #142dec;
}
Background
.bg-142dec {
  background-color: #142dec;
  color: #ffffff;
}
Border
.border-142dec {
  border: 2px solid #142dec;
}
CSS variables
:root {
  --color-primary: #142dec;
  --color-primary-rgb: 20 45 236;
  --color-primary-hsl: 233 85% 50%;
}
Gradient
.gradient-142dec {
  background: linear-gradient(135deg, #142dec, #6714ec);
}
Colored shadow
.shadow-142dec {
  box-shadow: 0 8px 24px rgb(20 45 236 / 0.35);
}

Blue
#142dec  rgb(20, 45, 236)  hsl(233, 85%, 50%)  Blue
#ecd314  rgb(236, 211, 20)  hsl(53, 85%, 50%)  Citrine
#ec142d  rgb(236, 20, 45)  hsl(353, 85%, 50%)  Cadmium Red
#2dec14  rgb(45, 236, 20)  hsl(113, 85%, 50%)  Lime