#5f5ffd ≈ Ultramarine Blue
#5f5ffd is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 37.25% red, 37.25% green and 99.22% blue; printed in CMYK it uses 62.45% cyan, 62.45% magenta, 0% yellow and 0.78% black. Its hue angle is 240°, with 97.53% saturation and 68.24% 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 4.7.
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.1771 |
Shades
#5f5ffd mixed progressively with black.
Tints
#5f5ffd mixed progressively with white.
Tones
#5f5ffd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f5ffd {
color: #5f5ffd;
}
.bg-5f5ffd {
background-color: #5f5ffd;
color: #ffffff;
}
.border-5f5ffd {
border: 2px solid #5f5ffd;
}
:root {
--color-primary: #5f5ffd;
--color-primary-rgb: 95 95 253;
--color-primary-hsl: 240 98% 68%;
}
.gradient-5f5ffd {
background: linear-gradient(135deg, #5f5ffd, #ae5ffd);
}
.shadow-5f5ffd {
box-shadow: 0 8px 24px rgb(95 95 253 / 0.35);
}
Ultramarine Blue
#5f5ffd rgb(95, 95, 253) hsl(240, 98%, 68%) Ultramarine Blue
#fdfd5f rgb(253, 253, 95) hsl(60, 98%, 68%) Laser Lemon
#fd5f5f rgb(253, 95, 95) hsl(0, 98%, 68%) Pastel Red
#5ffd5f rgb(95, 253, 95) hsl(120, 98%, 68%) Neon Green