#021DFB

#021dfb ≈ Blue

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

#021dfb 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.37% green and 98.43% blue; printed in CMYK it uses 99.2% cyan, 88.45% magenta, 0% yellow and 1.57% black. Its hue angle is 233.49°, with 98.42% saturation and 49.61% 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 8.17:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.92.

Description generated from the measured properties of this color.

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

Readable text 8.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #3d40b0 ≈ 0.001% of males
Protanopia #005bff ≈ 1.01% of males
Deuteranopia #0042f8 ≈ 1.27% of males
Tritanopia #006d95 ≈ 0.0001% of males
Protanomaly #004afe ≈ 1.08% of males
Deuteranomaly #0036f9 ≈ 4.63% of males
Tritanomaly #0058c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021dfb {
  color: #021dfb;
}
Background
.bg-021dfb {
  background-color: #021dfb;
  color: #ffffff;
}
Border
.border-021dfb {
  border: 2px solid #021dfb;
}
CSS variables
:root {
  --color-primary: #021dfb;
  --color-primary-rgb: 2 29 251;
  --color-primary-hsl: 233 98% 50%;
}
Gradient
.gradient-021dfb {
  background: linear-gradient(135deg, #021dfb, #6302fb);
}
Colored shadow
.shadow-021dfb {
  box-shadow: 0 8px 24px rgb(2 29 251 / 0.35);
}

Blue
#021dfb  rgb(2, 29, 251)  hsl(233, 98%, 50%)  Blue
#fbe002  rgb(251, 224, 2)  hsl(53, 98%, 50%)  Golden Yellow
#fb021d  rgb(251, 2, 29)  hsl(353, 98%, 50%)  Red
#1dfb02  rgb(29, 251, 2)  hsl(113, 98%, 50%)  Lime