#021ECC

#021ecc ≈ Medium Blue

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

#021ecc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 11.76% green and 80% blue; printed in CMYK it uses 99.02% cyan, 85.29% magenta, 0% yellow and 20% black. Its hue angle is 231.68°, with 98.06% saturation and 40.39% 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 10.19:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.

Description generated from the measured properties of this color.

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

Readable text 10.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #32368f ≈ 0.001% of males
Protanopia #004bd1 ≈ 1.01% of males
Deuteranopia #0036c9 ≈ 1.27% of males
Tritanopia #005a79 ≈ 0.0001% of males
Protanomaly #003dcf ≈ 1.08% of males
Deuteranomaly #002eca ≈ 4.63% of males
Tritanomaly #0049a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021ecc {
  color: #021ecc;
}
Background
.bg-021ecc {
  background-color: #021ecc;
  color: #ffffff;
}
Border
.border-021ecc {
  border: 2px solid #021ecc;
}
CSS variables
:root {
  --color-primary: #021ecc;
  --color-primary-rgb: 2 30 204;
  --color-primary-hsl: 232 98% 40%;
}
Gradient
.gradient-021ecc {
  background: linear-gradient(135deg, #021ecc, #4b02cc);
}
Colored shadow
.shadow-021ecc {
  box-shadow: 0 8px 24px rgb(2 30 204 / 0.35);
}

Medium Blue
#021ecc  rgb(2, 30, 204)  hsl(232, 98%, 40%)  Medium Blue
#ccb002  rgb(204, 176, 2)  hsl(52, 98%, 40%)  Old Gold
#cc021e  rgb(204, 2, 30)  hsl(352, 98%, 40%)  Lava
#1ecc02  rgb(30, 204, 2)  hsl(112, 98%, 40%)  Lime Green