#020EC8

#020ec8 ≈ Medium Blue

  • blue
  • Lightness: low
  • Saturation: vivid
  • Cool

#020ec8 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.78% red, 5.49% green and 78.43% blue; printed in CMYK it uses 99% cyan, 93% magenta, 0% yellow and 21.57% black. Its hue angle is 236.36°, with 98.02% saturation and 39.61% 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.06:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.03.

Description generated from the measured properties of this color.

Conversions of #020ec8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0000cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.045

Readable text 11.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #2e2f8b ≈ 0.001% of males
Protanopia #0046cd ≈ 1.01% of males
Deuteranopia #0031c5 ≈ 1.27% of males
Tritanopia #005475 ≈ 0.0001% of males
Protanomaly #0037cb ≈ 1.08% of males
Deuteranomaly #0027c6 ≈ 4.63% of males
Tritanomaly #00439d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-020ec8 {
  color: #020ec8;
}
Background
.bg-020ec8 {
  background-color: #020ec8;
  color: #ffffff;
}
Border
.border-020ec8 {
  border: 2px solid #020ec8;
}
CSS variables
:root {
  --color-primary: #020ec8;
  --color-primary-rgb: 2 14 200;
  --color-primary-hsl: 236 98% 40%;
}
Gradient
.gradient-020ec8 {
  background: linear-gradient(135deg, #020ec8, #5902c8);
}
Colored shadow
.shadow-020ec8 {
  box-shadow: 0 8px 24px rgb(2 14 200 / 0.35);
}

Medium Blue
#020ec8  rgb(2, 14, 200)  hsl(236, 98%, 40%)  Medium Blue
#c8bc02  rgb(200, 188, 2)  hsl(56, 98%, 40%)  Old Gold
#c8020e  rgb(200, 2, 14)  hsl(356, 98%, 40%)  Venetian Red
#0ec802  rgb(14, 200, 2)  hsl(116, 98%, 40%)  Lime Green