#021EC2

#021ec2 ≈ Medium Blue

  • blue
  • Lightness: low
  • Saturation: vivid
  • Cool

#021ec2 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.78% red, 11.76% green and 76.08% blue; printed in CMYK it uses 98.97% cyan, 84.54% magenta, 0% yellow and 23.92% black. Its hue angle is 231.25°, with 97.96% saturation and 38.43% 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 10.67:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.06.

Description generated from the measured properties of this color.

Conversions of #021ec2 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.0484

Readable text 10.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #303488 ≈ 0.001% of males
Protanopia #0047c6 ≈ 1.01% of males
Deuteranopia #0034bf ≈ 1.27% of males
Tritanopia #005573 ≈ 0.0001% of males
Protanomaly #003bc5 ≈ 1.08% of males
Deuteranomaly #002dc0 ≈ 4.63% of males
Tritanomaly #004599 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021ec2 {
  color: #021ec2;
}
Background
.bg-021ec2 {
  background-color: #021ec2;
  color: #ffffff;
}
Border
.border-021ec2 {
  border: 2px solid #021ec2;
}
CSS variables
:root {
  --color-primary: #021ec2;
  --color-primary-rgb: 2 30 194;
  --color-primary-hsl: 231 98% 38%;
}
Gradient
.gradient-021ec2 {
  background: linear-gradient(135deg, #021ec2, #4602c2);
}
Colored shadow
.shadow-021ec2 {
  box-shadow: 0 8px 24px rgb(2 30 194 / 0.35);
}

Medium Blue
#021ec2  rgb(2, 30, 194)  hsl(231, 98%, 38%)  Medium Blue
#c2a602  rgb(194, 166, 2)  hsl(51, 98%, 38%)  Old Gold
#c2021e  rgb(194, 2, 30)  hsl(351, 98%, 38%)  Firebrick
#1ec202  rgb(30, 194, 2)  hsl(111, 98%, 38%)  Kelly Green