#4c2ecb ≈ Ocean Blue
#4c2ecb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.8% red, 18.04% green and 79.61% blue; printed in CMYK it uses 62.56% cyan, 77.34% magenta, 0% yellow and 20.39% black. Its hue angle is 251.46°, with 63.05% saturation and 48.82% 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 5.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.078 |
Shades
#4c2ecb mixed progressively with black.
Tints
#4c2ecb mixed progressively with white.
Tones
#4c2ecb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4c2ecb {
color: #4c2ecb;
}
.bg-4c2ecb {
background-color: #4c2ecb;
color: #ffffff;
}
.border-4c2ecb {
border: 2px solid #4c2ecb;
}
:root {
--color-primary: #4c2ecb;
--color-primary-rgb: 76 46 203;
--color-primary-hsl: 251 63% 49%;
}
.gradient-4c2ecb {
background: linear-gradient(135deg, #4c2ecb, #9a2ecb);
}
.shadow-4c2ecb {
box-shadow: 0 8px 24px rgb(76 46 203 / 0.35);
}
Ocean Blue
#4c2ecb rgb(76, 46, 203) hsl(251, 63%, 49%) Ocean Blue
#adcb2e rgb(173, 203, 46) hsl(71, 63%, 49%) Yellow Green
#cb4c2e rgb(203, 76, 46) hsl(11, 63%, 49%) Sinopia
#2ecb4c rgb(46, 203, 76) hsl(131, 63%, 49%) Lime Green