#4e2aba ≈ Ocean Blue
#4e2aba 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 72.94% blue; printed in CMYK it uses 58.06% cyan, 77.42% magenta, 0% yellow and 27.06% black. Its hue angle is 255°, with 63.16% saturation and 44.71% 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.88:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.71.
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.0682 |
Shades
#4e2aba mixed progressively with black.
Tints
#4e2aba mixed progressively with white.
Tones
#4e2aba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2aba {
color: #4e2aba;
}
.bg-4e2aba {
background-color: #4e2aba;
color: #ffffff;
}
.border-4e2aba {
border: 2px solid #4e2aba;
}
:root {
--color-primary: #4e2aba;
--color-primary-rgb: 78 42 186;
--color-primary-hsl: 255 63% 45%;
}
.gradient-4e2aba {
background: linear-gradient(135deg, #4e2aba, #962aba);
}
.shadow-4e2aba {
box-shadow: 0 8px 24px rgb(78 42 186 / 0.35);
}
Ocean Blue
#4e2aba rgb(78, 42, 186) hsl(255, 63%, 45%) Ocean Blue
#96ba2a rgb(150, 186, 42) hsl(75, 63%, 45%) Apple Green
#ba4e2a rgb(186, 78, 42) hsl(15, 63%, 45%) Rust
#2aba4e rgb(42, 186, 78) hsl(135, 63%, 45%) Emerald