#5a5ffa ≈ Ultramarine Blue
#5a5ffa 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 98.04% blue; printed in CMYK it uses 64% cyan, 62% magenta, 0% yellow and 1.96% black. Its hue angle is 238.13°, with 94.12% saturation and 66.67% 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.72:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.05.
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.1726 |
Shades
#5a5ffa mixed progressively with black.
Tints
#5a5ffa mixed progressively with white.
Tones
#5a5ffa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a5ffa {
color: #5a5ffa;
}
.bg-5a5ffa {
background-color: #5a5ffa;
color: #ffffff;
}
.border-5a5ffa {
border: 2px solid #5a5ffa;
}
:root {
--color-primary: #5a5ffa;
--color-primary-rgb: 90 95 250;
--color-primary-hsl: 238 94% 67%;
}
.gradient-5a5ffa {
background: linear-gradient(135deg, #5a5ffa, #a55afa);
}
.shadow-5a5ffa {
box-shadow: 0 8px 24px rgb(90 95 250 / 0.35);
}
Ultramarine Blue
#5a5ffa rgb(90, 95, 250) hsl(238, 94%, 67%) Ultramarine Blue
#faf55a rgb(250, 245, 90) hsl(58, 94%, 67%) Icterine
#fa5a5f rgb(250, 90, 95) hsl(358, 94%, 67%) Pastel Red
#5ffa5a rgb(95, 250, 90) hsl(118, 94%, 67%) Neon Green