#166AED

#166aed ≈ Royal Blue

  • azure
  • Lightness: medium
  • Saturation: vivid
  • Cool

#166aed is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 8.63% red, 41.57% green and 92.94% blue; printed in CMYK it uses 90.72% cyan, 55.27% magenta, 0% yellow and 7.06% black. Its hue angle is 216.56°, with 85.66% saturation and 50.78% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. 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 4.86:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.9.

Description generated from the measured properties of this color.

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

Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #5a6eb1 ≈ 0.001% of males
Protanopia #007bf2 ≈ 1.01% of males
Deuteranopia #0068ea ≈ 1.27% of males
Tritanopia #008ba1 ≈ 0.0001% of males
Protanomaly #0075f0 ≈ 1.08% of males
Deuteranomaly #0069eb ≈ 4.63% of males
Tritanomaly #007fc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-166aed {
  color: #166aed;
}
Background
.bg-166aed {
  background-color: #166aed;
  color: #ffffff;
}
Border
.border-166aed {
  border: 2px solid #166aed;
}
CSS variables
:root {
  --color-primary: #166aed;
  --color-primary-rgb: 22 106 237;
  --color-primary-hsl: 217 86% 51%;
}
Gradient
.gradient-166aed {
  background: linear-gradient(135deg, #166aed, #2d16ed);
}
Colored shadow
.shadow-166aed {
  box-shadow: 0 8px 24px rgb(22 106 237 / 0.35);
}

Royal Blue
#166aed  rgb(22, 106, 237)  hsl(217, 86%, 51%)  Royal Blue
#ed9916  rgb(237, 153, 22)  hsl(37, 86%, 51%)  Gamboge
#ed166a  rgb(237, 22, 106)  hsl(337, 86%, 51%)  Razzmatazz
#6aed16  rgb(106, 237, 22)  hsl(97, 86%, 51%)  Lawn Green