#5166E4

#5166e4 ≈ Ultramarine Blue

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

#5166e4 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 89.41% blue; printed in CMYK it uses 64.47% cyan, 55.26% magenta, 0% yellow and 10.59% black. Its hue angle is 231.43°, with 73.13% saturation and 60.59% 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.8:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.3.

Description generated from the measured properties of this color.

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

Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #666dac ≈ 0.001% of males
Protanopia #0079e8 ≈ 1.01% of males
Deuteranopia #006ce1 ≈ 1.27% of males
Tritanopia #00849b ≈ 0.0001% of males
Protanomaly #2f72e7 ≈ 1.08% of males
Deuteranomaly #1f69e2 ≈ 4.63% of males
Tritanomaly #1179bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5166e4 {
  color: #5166e4;
}
Background
.bg-5166e4 {
  background-color: #5166e4;
  color: #ffffff;
}
Border
.border-5166e4 {
  border: 2px solid #5166e4;
}
CSS variables
:root {
  --color-primary: #5166e4;
  --color-primary-rgb: 81 102 228;
  --color-primary-hsl: 231 73% 61%;
}
Gradient
.gradient-5166e4 {
  background: linear-gradient(135deg, #5166e4, #8651e4);
}
Colored shadow
.shadow-5166e4 {
  box-shadow: 0 8px 24px rgb(81 102 228 / 0.35);
}

Ultramarine Blue
#5166e4  rgb(81, 102, 228)  hsl(231, 73%, 61%)  Ultramarine Blue
#e4cf51  rgb(228, 207, 81)  hsl(51, 73%, 61%)  Naples Yellow
#e45166  rgb(228, 81, 102)  hsl(351, 73%, 61%)  Neon Fuchsia
#66e451  rgb(102, 228, 81)  hsl(111, 73%, 61%)  Malachite