#2162EA

#2162ea ≈ Royal Blue

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

#2162ea 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 91.76% blue; printed in CMYK it uses 85.9% cyan, 58.12% magenta, 0% yellow and 8.24% black. Its hue angle is 220.6°, with 82.72% saturation and 52.35% 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.25:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #2162ea 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.15

Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #5768ad ≈ 0.001% of males
Protanopia #0075ef ≈ 1.01% of males
Deuteranopia #0063e7 ≈ 1.27% of males
Tritanopia #00859c ≈ 0.0001% of males
Protanomaly #006eed ≈ 1.08% of males
Deuteranomaly #0063e8 ≈ 4.63% of males
Tritanomaly #0078c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#2162ea  rgb(33, 98, 234)  hsl(221, 83%, 52%)  Royal Blue
#eaa921  rgb(234, 169, 33)  hsl(41, 83%, 52%)  Marigold
#ea2162  rgb(234, 33, 98)  hsl(341, 83%, 52%)  Cerise
#62ea21  rgb(98, 234, 33)  hsl(101, 83%, 52%)  Lawn Green