#021CEF

#021cef ≈ Blue

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

#021cef 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.98% green and 93.73% blue; printed in CMYK it uses 99.16% cyan, 88.28% magenta, 0% yellow and 6.27% black. Its hue angle is 233.42°, with 98.34% saturation and 47.25% 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.7:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.1.

Description generated from the measured properties of this color.

Conversions of #021cef 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.0708

Readable text 8.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #3a3da7 ≈ 0.001% of males
Protanopia #0057f4 ≈ 1.01% of males
Deuteranopia #003eec ≈ 1.27% of males
Tritanopia #00688e ≈ 0.0001% of males
Protanomaly #0046f2 ≈ 1.08% of males
Deuteranomaly #0034ed ≈ 4.63% of males
Tritanomaly #0053bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#021cef  rgb(2, 28, 239)  hsl(233, 98%, 47%)  Blue
#efd502  rgb(239, 213, 2)  hsl(53, 98%, 47%)  Citrine
#ef021c  rgb(239, 2, 28)  hsl(353, 98%, 47%)  Lust
#1cef02  rgb(28, 239, 2)  hsl(113, 98%, 47%)  Lime