#1866EA

#1866ea ≈ Royal Blue

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

#1866ea is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 9.41% red, 40% green and 91.76% blue; printed in CMYK it uses 89.74% cyan, 56.41% magenta, 0% yellow and 8.24% black. Its hue angle is 217.71°, with 83.33% saturation and 50.59% 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 5.09:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.65.

Description generated from the measured properties of this color.

Conversions of #1866ea 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.1564

Readable text 5.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #586bae ≈ 0.001% of males
Protanopia #0078ef ≈ 1.01% of males
Deuteranopia #0065e7 ≈ 1.27% of males
Tritanopia #00889e ≈ 0.0001% of males
Protanomaly #0071ed ≈ 1.08% of males
Deuteranomaly #0066e8 ≈ 4.63% of males
Tritanomaly #007bc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#1866ea  rgb(24, 102, 234)  hsl(218, 83%, 51%)  Royal Blue
#ea9c18  rgb(234, 156, 24)  hsl(38, 83%, 51%)  Gamboge
#ea1866  rgb(234, 24, 102)  hsl(338, 83%, 51%)  Razzmatazz
#66ea18  rgb(102, 234, 24)  hsl(98, 83%, 51%)  Lawn Green