#021FE2

#021fe2 ≈ Blue

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

#021fe2 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 88.63% blue; printed in CMYK it uses 99.12% cyan, 86.28% magenta, 0% yellow and 11.37% black. Its hue angle is 232.23°, with 98.25% saturation and 44.71% 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.14:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.39.

Description generated from the measured properties of this color.

Conversions of #021fe2 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.0648

Readable text 9.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #383b9e ≈ 0.001% of males
Protanopia #0053e7 ≈ 1.01% of males
Deuteranopia #003cdf ≈ 1.27% of males
Tritanopia #006387 ≈ 0.0001% of males
Protanomaly #0044e5 ≈ 1.08% of males
Deuteranomaly #0033e0 ≈ 4.63% of males
Tritanomaly #0050b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#021fe2  rgb(2, 31, 226)  hsl(232, 98%, 45%)  Blue
#e2c502  rgb(226, 197, 2)  hsl(52, 98%, 45%)  Citrine
#e2021f  rgb(226, 2, 31)  hsl(352, 98%, 45%)  Cadmium Red
#1fe202  rgb(31, 226, 2)  hsl(112, 98%, 45%)  Lime Green