#5731bb ≈ Ocean Blue
#5731bb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.12% red, 19.22% green and 73.33% blue; printed in CMYK it uses 53.48% cyan, 73.8% magenta, 0% yellow and 26.67% black. Its hue angle is 256.52°, with 58.47% saturation and 46.27% 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 8.2:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.54.
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.0781 |
Shades
#5731bb mixed progressively with black.
Tints
#5731bb mixed progressively with white.
Tones
#5731bb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5731bb {
color: #5731bb;
}
.bg-5731bb {
background-color: #5731bb;
color: #ffffff;
}
.border-5731bb {
border: 2px solid #5731bb;
}
:root {
--color-primary: #5731bb;
--color-primary-rgb: 87 49 187;
--color-primary-hsl: 257 58% 46%;
}
.gradient-5731bb {
background: linear-gradient(135deg, #5731bb, #9c31bb);
}
.shadow-5731bb {
box-shadow: 0 8px 24px rgb(87 49 187 / 0.35);
}
Ocean Blue
#5731bb rgb(87, 49, 187) hsl(257, 58%, 46%) Ocean Blue
#95bb31 rgb(149, 187, 49) hsl(77, 58%, 46%) Apple Green
#bb5731 rgb(187, 87, 49) hsl(17, 58%, 46%) Sinopia
#31bb57 rgb(49, 187, 87) hsl(137, 58%, 46%) Emerald