#502cc2 ≈ Ocean Blue
#502cc2 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 76.08% blue; printed in CMYK it uses 58.76% cyan, 77.32% magenta, 0% yellow and 23.92% black. Its hue angle is 254.4°, with 63.03% saturation and 46.67% 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.47:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.42.
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.074 |
Shades
#502cc2 mixed progressively with black.
Tints
#502cc2 mixed progressively with white.
Tones
#502cc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-502cc2 {
color: #502cc2;
}
.bg-502cc2 {
background-color: #502cc2;
color: #ffffff;
}
.border-502cc2 {
border: 2px solid #502cc2;
}
:root {
--color-primary: #502cc2;
--color-primary-rgb: 80 44 194;
--color-primary-hsl: 254 63% 47%;
}
.gradient-502cc2 {
background: linear-gradient(135deg, #502cc2, #9b2cc2);
}
.shadow-502cc2 {
box-shadow: 0 8px 24px rgb(80 44 194 / 0.35);
}
Ocean Blue
#502cc2 rgb(80, 44, 194) hsl(254, 63%, 47%) Ocean Blue
#9ec22c rgb(158, 194, 44) hsl(74, 63%, 47%) Yellow Green
#c2502c rgb(194, 80, 44) hsl(14, 63%, 47%) Sinopia
#2cc250 rgb(44, 194, 80) hsl(134, 63%, 47%) Lime Green