#5a5ff2 ≈ Ultramarine Blue
#5a5ff2 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 35.29% red, 37.25% green and 94.9% blue; printed in CMYK it uses 62.81% cyan, 60.74% magenta, 0% yellow and 5.1% black. Its hue angle is 238.03°, with 85.39% saturation and 65.1% 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.82:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.91.
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.1677 |
Shades
#5a5ff2 mixed progressively with black.
Tints
#5a5ff2 mixed progressively with white.
Tones
#5a5ff2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a5ff2 {
color: #5a5ff2;
}
.bg-5a5ff2 {
background-color: #5a5ff2;
color: #ffffff;
}
.border-5a5ff2 {
border: 2px solid #5a5ff2;
}
:root {
--color-primary: #5a5ff2;
--color-primary-rgb: 90 95 242;
--color-primary-hsl: 238 85% 65%;
}
.gradient-5a5ff2 {
background: linear-gradient(135deg, #5a5ff2, #a15af2);
}
.shadow-5a5ff2 {
box-shadow: 0 8px 24px rgb(90 95 242 / 0.35);
}
Ultramarine Blue
#5a5ff2 rgb(90, 95, 242) hsl(238, 85%, 65%) Ultramarine Blue
#f2ed5a rgb(242, 237, 90) hsl(58, 85%, 65%) Icterine
#f25a5f rgb(242, 90, 95) hsl(358, 85%, 65%) Pastel Red
#5ff25a rgb(95, 242, 90) hsl(118, 85%, 65%) Neon Green