#502cbb ≈ Ocean Blue
#502cbb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.37% red, 17.25% green and 73.33% blue; printed in CMYK it uses 57.22% cyan, 76.47% magenta, 0% yellow and 26.67% black. Its hue angle is 255.1°, with 61.9% saturation and 45.29% 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.68:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.34.
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.0709 |
Shades
#502cbb mixed progressively with black.
Tints
#502cbb mixed progressively with white.
Tones
#502cbb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-502cbb {
color: #502cbb;
}
.bg-502cbb {
background-color: #502cbb;
color: #ffffff;
}
.border-502cbb {
border: 2px solid #502cbb;
}
:root {
--color-primary: #502cbb;
--color-primary-rgb: 80 44 187;
--color-primary-hsl: 255 62% 45%;
}
.gradient-502cbb {
background: linear-gradient(135deg, #502cbb, #972cbb);
}
.shadow-502cbb {
box-shadow: 0 8px 24px rgb(80 44 187 / 0.35);
}
Ocean Blue
#502cbb rgb(80, 44, 187) hsl(255, 62%, 45%) Ocean Blue
#97bb2c rgb(151, 187, 44) hsl(75, 62%, 45%) Apple Green
#bb502c rgb(187, 80, 44) hsl(15, 62%, 45%) Sinopia
#2cbb50 rgb(44, 187, 80) hsl(135, 62%, 45%) Emerald