#5162EB

#5162eb ≈ Ultramarine Blue

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

#5162eb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 38.43% green and 92.16% blue; printed in CMYK it uses 65.53% cyan, 58.3% magenta, 0% yellow and 7.84% black. Its hue angle is 233.38°, with 79.38% saturation and 61.96% 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.89:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.46.

Description generated from the measured properties of this color.

Conversions of #5162eb 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.1648

Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #666baf ≈ 0.001% of males
Protanopia #0078f0 ≈ 1.01% of males
Deuteranopia #006ae8 ≈ 1.27% of males
Tritanopia #00849d ≈ 0.0001% of males
Protanomaly #2170ee ≈ 1.08% of males
Deuteranomaly #0267e9 ≈ 4.63% of males
Tritanomaly #0178c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5162eb {
  color: #5162eb;
}
Background
.bg-5162eb {
  background-color: #5162eb;
  color: #ffffff;
}
Border
.border-5162eb {
  border: 2px solid #5162eb;
}
CSS variables
:root {
  --color-primary: #5162eb;
  --color-primary-rgb: 81 98 235;
  --color-primary-hsl: 233 79% 62%;
}
Gradient
.gradient-5162eb {
  background: linear-gradient(135deg, #5162eb, #8d51eb);
}
Colored shadow
.shadow-5162eb {
  box-shadow: 0 8px 24px rgb(81 98 235 / 0.35);
}

Ultramarine Blue
#5162eb  rgb(81, 98, 235)  hsl(233, 79%, 62%)  Ultramarine Blue
#ebda51  rgb(235, 218, 81)  hsl(53, 79%, 62%)  Dandelion
#eb5162  rgb(235, 81, 98)  hsl(353, 79%, 62%)  Neon Fuchsia
#62eb51  rgb(98, 235, 81)  hsl(113, 79%, 62%)  Neon Green