#2162EC

#2162ec ≈ Royal Blue

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

#2162ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.94% red, 38.43% green and 92.55% blue; printed in CMYK it uses 86.02% cyan, 58.47% magenta, 0% yellow and 7.45% black. Its hue angle is 220.79°, with 84.23% saturation and 52.75% 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 5.22:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.85.

Description generated from the measured properties of this color.

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

Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #5868af ≈ 0.001% of males
Protanopia #0076f1 ≈ 1.01% of males
Deuteranopia #0064e9 ≈ 1.27% of males
Tritanopia #00859d ≈ 0.0001% of males
Protanomaly #006fef ≈ 1.08% of males
Deuteranomaly #0063ea ≈ 4.63% of males
Tritanomaly #0079c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#2162ec  rgb(33, 98, 236)  hsl(221, 84%, 53%)  Royal Blue
#ecab21  rgb(236, 171, 33)  hsl(41, 84%, 53%)  Marigold
#ec2162  rgb(236, 33, 98)  hsl(341, 84%, 53%)  Cerise
#62ec21  rgb(98, 236, 33)  hsl(101, 84%, 53%)  Harlequin