#021FC7

#021fc7 ≈ Medium Blue

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

#021fc7 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.78% red, 12.16% green and 78.04% blue; printed in CMYK it uses 98.99% cyan, 84.42% magenta, 0% yellow and 21.96% black. Its hue angle is 231.17°, 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.38:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.12.

Description generated from the measured properties of this color.

Conversions of #021fc7 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.0512

Readable text 10.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #31358b ≈ 0.001% of males
Protanopia #0049cb ≈ 1.01% of males
Deuteranopia #0036c4 ≈ 1.27% of males
Tritanopia #005877 ≈ 0.0001% of males
Protanomaly #003dca ≈ 1.08% of males
Deuteranomaly #002ec5 ≈ 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-021fc7 {
  color: #021fc7;
}
Background
.bg-021fc7 {
  background-color: #021fc7;
  color: #ffffff;
}
Border
.border-021fc7 {
  border: 2px solid #021fc7;
}
CSS variables
:root {
  --color-primary: #021fc7;
  --color-primary-rgb: 2 31 199;
  --color-primary-hsl: 231 98% 39%;
}
Gradient
.gradient-021fc7 {
  background: linear-gradient(135deg, #021fc7, #4802c7);
}
Colored shadow
.shadow-021fc7 {
  box-shadow: 0 8px 24px rgb(2 31 199 / 0.35);
}

Medium Blue
#021fc7  rgb(2, 31, 199)  hsl(231, 98%, 39%)  Medium Blue
#c7aa02  rgb(199, 170, 2)  hsl(51, 98%, 39%)  Old Gold
#c7021f  rgb(199, 2, 31)  hsl(351, 98%, 39%)  Lava
#1fc702  rgb(31, 199, 2)  hsl(111, 98%, 39%)  Lime Green