#021EC5

#021ec5 ≈ Medium Blue

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

#021ec5 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.78% red, 11.76% green and 77.25% blue; printed in CMYK it uses 98.98% cyan, 84.77% magenta, 0% yellow and 22.75% black. Its hue angle is 231.38°, with 97.99% saturation and 39.02% 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.53:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #021ec5 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.0497

Readable text 10.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #30358a ≈ 0.001% of males
Protanopia #0048c9 ≈ 1.01% of males
Deuteranopia #0035c2 ≈ 1.27% of males
Tritanopia #005775 ≈ 0.0001% of males
Protanomaly #003cc8 ≈ 1.08% of males
Deuteranomaly #002dc3 ≈ 4.63% of males
Tritanomaly #00469c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021ec5 {
  color: #021ec5;
}
Background
.bg-021ec5 {
  background-color: #021ec5;
  color: #ffffff;
}
Border
.border-021ec5 {
  border: 2px solid #021ec5;
}
CSS variables
:root {
  --color-primary: #021ec5;
  --color-primary-rgb: 2 30 197;
  --color-primary-hsl: 231 98% 39%;
}
Gradient
.gradient-021ec5 {
  background: linear-gradient(135deg, #021ec5, #4702c5);
}
Colored shadow
.shadow-021ec5 {
  box-shadow: 0 8px 24px rgb(2 30 197 / 0.35);
}

Medium Blue
#021ec5  rgb(2, 30, 197)  hsl(231, 98%, 39%)  Medium Blue
#c5a902  rgb(197, 169, 2)  hsl(51, 98%, 39%)  Old Gold
#c5021e  rgb(197, 2, 30)  hsl(351, 98%, 39%)  Venetian Red
#1ec502  rgb(30, 197, 2)  hsl(111, 98%, 39%)  Lime Green