#4e2ac2 ≈ Ocean Blue
#4e2ac2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 16.47% green and 76.08% blue; printed in CMYK it uses 59.79% cyan, 78.35% magenta, 0% yellow and 23.92% black. Its hue angle is 254.21°, with 64.41% 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.63:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.76.
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.0717 |
Shades
#4e2ac2 mixed progressively with black.
Tints
#4e2ac2 mixed progressively with white.
Tones
#4e2ac2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2ac2 {
color: #4e2ac2;
}
.bg-4e2ac2 {
background-color: #4e2ac2;
color: #ffffff;
}
.border-4e2ac2 {
border: 2px solid #4e2ac2;
}
:root {
--color-primary: #4e2ac2;
--color-primary-rgb: 78 42 194;
--color-primary-hsl: 254 64% 46%;
}
.gradient-4e2ac2 {
background: linear-gradient(135deg, #4e2ac2, #9a2ac2);
}
.shadow-4e2ac2 {
box-shadow: 0 8px 24px rgb(78 42 194 / 0.35);
}
Ocean Blue
#4e2ac2 rgb(78, 42, 194) hsl(254, 64%, 46%) Ocean Blue
#9ec22a rgb(158, 194, 42) hsl(74, 64%, 46%) Yellow Green
#c24e2a rgb(194, 78, 42) hsl(14, 64%, 46%) Sinopia
#2ac24e rgb(42, 194, 78) hsl(134, 64%, 46%) Lime Green