#5166EA

#5166ea ≈ Ultramarine Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#5166ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 40% green and 91.76% blue; printed in CMYK it uses 65.38% cyan, 56.41% magenta, 0% yellow and 8.24% black. Its hue angle is 231.76°, with 78.46% saturation and 61.76% 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 brand accents. White text on this color reaches a contrast ratio of 4.73:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 1.85.

Description generated from the measured properties of this color.

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

Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #676eb0 ≈ 0.001% of males
Protanopia #007aee ≈ 1.01% of males
Deuteranopia #006ce7 ≈ 1.27% of males
Tritanopia #00869e ≈ 0.0001% of males
Protanomaly #2a73ed ≈ 1.08% of males
Deuteranomaly #146ae8 ≈ 4.63% of males
Tritanomaly #027bc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#5166ea  rgb(81, 102, 234)  hsl(232, 78%, 62%)  Ultramarine Blue
#ead551  rgb(234, 213, 81)  hsl(52, 78%, 62%)  Naples Yellow
#ea5166  rgb(234, 81, 102)  hsl(352, 78%, 62%)  Neon Fuchsia
#66ea51  rgb(102, 234, 81)  hsl(112, 78%, 62%)  Malachite