#4e2fc5 ≈ Ocean Blue
#4e2fc5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 18.43% green and 77.25% blue; printed in CMYK it uses 60.41% cyan, 76.14% magenta, 0% yellow and 22.75% black. Its hue angle is 252.4°, with 61.48% saturation and 47.84% 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.28:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.96.
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.0768 |
Shades
#4e2fc5 mixed progressively with black.
Tints
#4e2fc5 mixed progressively with white.
Tones
#4e2fc5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2fc5 {
color: #4e2fc5;
}
.bg-4e2fc5 {
background-color: #4e2fc5;
color: #ffffff;
}
.border-4e2fc5 {
border: 2px solid #4e2fc5;
}
:root {
--color-primary: #4e2fc5;
--color-primary-rgb: 78 47 197;
--color-primary-hsl: 252 61% 48%;
}
.gradient-4e2fc5 {
background: linear-gradient(135deg, #4e2fc5, #992fc5);
}
.shadow-4e2fc5 {
box-shadow: 0 8px 24px rgb(78 47 197 / 0.35);
}
Ocean Blue
#4e2fc5 rgb(78, 47, 197) hsl(252, 61%, 48%) Ocean Blue
#a6c52f rgb(166, 197, 47) hsl(72, 61%, 48%) Yellow Green
#c54e2f rgb(197, 78, 47) hsl(12, 61%, 48%) Sinopia
#2fc54e rgb(47, 197, 78) hsl(132, 61%, 48%) Lime Green