#4e2fb2 ≈ Ocean Blue
#4e2fb2 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 69.8% blue; printed in CMYK it uses 56.18% cyan, 73.6% magenta, 0% yellow and 30.2% black. Its hue angle is 254.2°, with 58.22% saturation and 44.12% 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.85:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0687 |
Shades
#4e2fb2 mixed progressively with black.
Tints
#4e2fb2 mixed progressively with white.
Tones
#4e2fb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2fb2 {
color: #4e2fb2;
}
.bg-4e2fb2 {
background-color: #4e2fb2;
color: #ffffff;
}
.border-4e2fb2 {
border: 2px solid #4e2fb2;
}
:root {
--color-primary: #4e2fb2;
--color-primary-rgb: 78 47 178;
--color-primary-hsl: 254 58% 44%;
}
.gradient-4e2fb2 {
background: linear-gradient(135deg, #4e2fb2, #902fb2);
}
.shadow-4e2fb2 {
box-shadow: 0 8px 24px rgb(78 47 178 / 0.35);
}
Ocean Blue
#4e2fb2 rgb(78, 47, 178) hsl(254, 58%, 44%) Ocean Blue
#93b22f rgb(147, 178, 47) hsl(74, 58%, 44%) Apple Green
#b24e2f rgb(178, 78, 47) hsl(14, 58%, 44%) Sienna
#2fb24e rgb(47, 178, 78) hsl(134, 58%, 44%) Medium Sea Green