#5162ff ≈ Ultramarine Blue
#5162ff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 31.76% red, 38.43% green and 100% blue; printed in CMYK it uses 68.24% cyan, 61.57% magenta, 0% yellow and 0% black. Its hue angle is 234.14°, with 100% saturation and 65.88% 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 4.62:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.89.
Description generated from the measured properties of this color.
| 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 luminance | 0.177 |
Shades
#5162ff mixed progressively with black.
Tints
#5162ff mixed progressively with white.
Tones
#5162ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5162ff {
color: #5162ff;
}
.bg-5162ff {
background-color: #5162ff;
color: #ffffff;
}
.border-5162ff {
border: 2px solid #5162ff;
}
:root {
--color-primary: #5162ff;
--color-primary-rgb: 81 98 255;
--color-primary-hsl: 234 100% 66%;
}
.gradient-5162ff {
background: linear-gradient(135deg, #5162ff, #9751ff);
}
.shadow-5162ff {
box-shadow: 0 8px 24px rgb(81 98 255 / 0.35);
}
Ultramarine Blue
#5162ff rgb(81, 98, 255) hsl(234, 100%, 66%) Ultramarine Blue
#ffee51 rgb(255, 238, 81) hsl(54, 100%, 66%) Dandelion
#ff5162 rgb(255, 81, 98) hsl(354, 100%, 66%) Neon Fuchsia
#62ff51 rgb(98, 255, 81) hsl(114, 100%, 66%) Neon Green