#5a3bcb ≈ Ocean Blue
#5a3bcb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 23.14% green and 79.61% blue; printed in CMYK it uses 55.67% cyan, 70.94% magenta, 0% yellow and 20.39% black. Its hue angle is 252.92°, with 58.06% saturation and 51.37% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.19:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0961 |
Shades
#5a3bcb mixed progressively with black.
Tints
#5a3bcb mixed progressively with white.
Tones
#5a3bcb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a3bcb {
color: #5a3bcb;
}
.bg-5a3bcb {
background-color: #5a3bcb;
color: #ffffff;
}
.border-5a3bcb {
border: 2px solid #5a3bcb;
}
:root {
--color-primary: #5a3bcb;
--color-primary-rgb: 90 59 203;
--color-primary-hsl: 253 58% 51%;
}
.gradient-5a3bcb {
background: linear-gradient(135deg, #5a3bcb, #a23bcb);
}
.shadow-5a3bcb {
box-shadow: 0 8px 24px rgb(90 59 203 / 0.35);
}
Ocean Blue
#5a3bcb rgb(90, 59, 203) hsl(253, 58%, 51%) Ocean Blue
#accb3b rgb(172, 203, 59) hsl(73, 58%, 51%) Yellow Green
#cb5a3b rgb(203, 90, 59) hsl(13, 58%, 51%) Cinnabar
#3bcb5a rgb(59, 203, 90) hsl(133, 58%, 51%) Malachite