#2866EA

#2866ea ≈ Royal Blue

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

#2866ea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.69% red, 40% green and 91.76% blue; printed in CMYK it uses 82.91% cyan, 56.41% magenta, 0% yellow and 8.24% black. Its hue angle is 220.82°, with 82.2% saturation and 53.73% 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.03:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #2866ea 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.1589

Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #5b6cae ≈ 0.001% of males
Protanopia #0078ef ≈ 1.01% of males
Deuteranopia #0067e7 ≈ 1.27% of males
Tritanopia #00879e ≈ 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-2866ea {
  color: #2866ea;
}
Background
.bg-2866ea {
  background-color: #2866ea;
  color: #ffffff;
}
Border
.border-2866ea {
  border: 2px solid #2866ea;
}
CSS variables
:root {
  --color-primary: #2866ea;
  --color-primary-rgb: 40 102 234;
  --color-primary-hsl: 221 82% 54%;
}
Gradient
.gradient-2866ea {
  background: linear-gradient(135deg, #2866ea, #4b28ea);
}
Colored shadow
.shadow-2866ea {
  box-shadow: 0 8px 24px rgb(40 102 234 / 0.35);
}

Royal Blue
#2866ea  rgb(40, 102, 234)  hsl(221, 82%, 54%)  Royal Blue
#eaac28  rgb(234, 172, 40)  hsl(41, 82%, 54%)  Goldenrod
#ea2866  rgb(234, 40, 102)  hsl(341, 82%, 54%)  Cerise
#66ea28  rgb(102, 234, 40)  hsl(101, 82%, 54%)  Lawn Green