#021DEC

#021dec ≈ Blue

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

#021dec 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 92.55% blue; printed in CMYK it uses 99.15% cyan, 87.71% magenta, 0% yellow and 7.45% black. Its hue angle is 233.08°, with 98.32% saturation and 46.67% 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.79:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.38.

Description generated from the measured properties of this color.

Conversions of #021dec 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.0695

Readable text 8.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #3a3da5 ≈ 0.001% of males
Protanopia #0056f1 ≈ 1.01% of males
Deuteranopia #003ee9 ≈ 1.27% of males
Tritanopia #00678c ≈ 0.0001% of males
Protanomaly #0046ef ≈ 1.08% of males
Deuteranomaly #0034ea ≈ 4.63% of males
Tritanomaly #0053ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#021dec  rgb(2, 29, 236)  hsl(233, 98%, 47%)  Blue
#ecd102  rgb(236, 209, 2)  hsl(53, 98%, 47%)  Citrine
#ec021d  rgb(236, 2, 29)  hsl(353, 98%, 47%)  Lust
#1dec02  rgb(29, 236, 2)  hsl(113, 98%, 47%)  Lime