#021AFB

#021afb ≈ Blue

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

#021afb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 10.2% green and 98.43% blue; printed in CMYK it uses 99.2% cyan, 89.64% magenta, 0% yellow and 1.57% black. Its hue angle is 234.22°, 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.26:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.6.

Description generated from the measured properties of this color.

Conversions of #021afb 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.0772

Readable text 8.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #3d3fb0 ≈ 0.001% of males
Protanopia #005bff ≈ 1.01% of males
Deuteranopia #0041f8 ≈ 1.27% of males
Tritanopia #006d95 ≈ 0.0001% of males
Protanomaly #0049fe ≈ 1.08% of males
Deuteranomaly #0035f9 ≈ 4.63% of males
Tritanomaly #0057c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#021afb  rgb(2, 26, 251)  hsl(234, 98%, 50%)  Blue
#fbe302  rgb(251, 227, 2)  hsl(54, 98%, 50%)  Golden Yellow
#fb021a  rgb(251, 2, 26)  hsl(354, 98%, 50%)  Red
#1afb02  rgb(26, 251, 2)  hsl(114, 98%, 50%)  Lime