#2002EC

#2002ec ≈ Blue

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

#2002ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.55% red, 0.78% green and 92.55% blue; printed in CMYK it uses 86.44% cyan, 99.15% magenta, 0% yellow and 7.45% black. Its hue angle is 247.69°, 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 9.21:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.06.

Description generated from the measured properties of this color.

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

Readable text 9.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #3b37a5 ≈ 0.001% of males
Protanopia #0052f1 ≈ 1.01% of males
Deuteranopia #003be9 ≈ 1.27% of males
Tritanopia #00628a ≈ 0.0001% of males
Protanomaly #0040ef ≈ 1.08% of males
Deuteranomaly #002dea ≈ 4.63% of males
Tritanomaly #004dba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#2002ec  rgb(32, 2, 236)  hsl(248, 98%, 47%)  Blue
#ceec02  rgb(206, 236, 2)  hsl(68, 98%, 47%)  Pear
#ec2002  rgb(236, 32, 2)  hsl(8, 98%, 47%)  Red
#02ec20  rgb(2, 236, 32)  hsl(128, 98%, 47%)  Lime