#0420EC

#0420ec ≈ Blue

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

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

Description generated from the measured properties of this color.

Conversions of #0420ec 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.0711

Readable text 8.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #3b3ea5 ≈ 0.001% of males
Protanopia #0057f1 ≈ 1.01% of males
Deuteranopia #003fe9 ≈ 1.27% of males
Tritanopia #00688d ≈ 0.0001% of males
Protanomaly #0047ef ≈ 1.08% of males
Deuteranomaly #0035ea ≈ 4.63% of males
Tritanomaly #0054bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0420ec {
  color: #0420ec;
}
Background
.bg-0420ec {
  background-color: #0420ec;
  color: #ffffff;
}
Border
.border-0420ec {
  border: 2px solid #0420ec;
}
CSS variables
:root {
  --color-primary: #0420ec;
  --color-primary-rgb: 4 32 236;
  --color-primary-hsl: 233 97% 47%;
}
Gradient
.gradient-0420ec {
  background: linear-gradient(135deg, #0420ec, #5c04ec);
}
Colored shadow
.shadow-0420ec {
  box-shadow: 0 8px 24px rgb(4 32 236 / 0.35);
}

Blue
#0420ec  rgb(4, 32, 236)  hsl(233, 97%, 47%)  Blue
#ecd004  rgb(236, 208, 4)  hsl(53, 97%, 47%)  Citrine
#ec0420  rgb(236, 4, 32)  hsl(353, 97%, 47%)  Lust
#20ec04  rgb(32, 236, 4)  hsl(113, 97%, 47%)  Lime