#021DC7

#021dc7 ≈ Medium Blue

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

#021dc7 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.37% green and 78.04% blue; printed in CMYK it uses 98.99% cyan, 85.43% magenta, 0% yellow and 21.96% black. Its hue angle is 231.78°, with 98.01% saturation and 39.41% 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.48:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.8.

Description generated from the measured properties of this color.

Conversions of #021dc7 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.0502

Readable text 10.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #31358b ≈ 0.001% of males
Protanopia #0049cb ≈ 1.01% of males
Deuteranopia #0035c4 ≈ 1.27% of males
Tritanopia #005776 ≈ 0.0001% of males
Protanomaly #003cca ≈ 1.08% of males
Deuteranomaly #002dc5 ≈ 4.63% of males
Tritanomaly #00479d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#021dc7  rgb(2, 29, 199)  hsl(232, 98%, 39%)  Medium Blue
#c7ac02  rgb(199, 172, 2)  hsl(52, 98%, 39%)  Old Gold
#c7021d  rgb(199, 2, 29)  hsl(352, 98%, 39%)  Venetian Red
#1dc702  rgb(29, 199, 2)  hsl(112, 98%, 39%)  Lime Green