#021FD8

#021fd8 ≈ Medium Blue

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

#021fd8 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 12.16% green and 84.71% blue; printed in CMYK it uses 99.07% cyan, 85.65% magenta, 0% yellow and 15.29% black. Its hue angle is 231.87°, with 98.17% saturation and 42.75% 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 9.59:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.77.

Description generated from the measured properties of this color.

Conversions of #021fd8 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.0595

Readable text 9.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #353997 ≈ 0.001% of males
Protanopia #004fdd ≈ 1.01% of males
Deuteranopia #003ad5 ≈ 1.27% of males
Tritanopia #005f81 ≈ 0.0001% of males
Protanomaly #0041db ≈ 1.08% of males
Deuteranomaly #0031d6 ≈ 4.63% of males
Tritanomaly #004dab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021fd8 {
  color: #021fd8;
}
Background
.bg-021fd8 {
  background-color: #021fd8;
  color: #ffffff;
}
Border
.border-021fd8 {
  border: 2px solid #021fd8;
}
CSS variables
:root {
  --color-primary: #021fd8;
  --color-primary-rgb: 2 31 216;
  --color-primary-hsl: 232 98% 43%;
}
Gradient
.gradient-021fd8 {
  background: linear-gradient(135deg, #021fd8, #5002d8);
}
Colored shadow
.shadow-021fd8 {
  box-shadow: 0 8px 24px rgb(2 31 216 / 0.35);
}

Medium Blue
#021fd8  rgb(2, 31, 216)  hsl(232, 98%, 43%)  Medium Blue
#d8bb02  rgb(216, 187, 2)  hsl(52, 98%, 43%)  Old Gold
#d8021f  rgb(216, 2, 31)  hsl(352, 98%, 43%)  Lava
#1fd802  rgb(31, 216, 2)  hsl(112, 98%, 43%)  Lime Green