#4e2eba ≈ Ocean Blue
#4e2eba 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.04% green and 72.94% blue; printed in CMYK it uses 58.06% cyan, 75.27% magenta, 0% yellow and 27.06% black. Its hue angle is 253.71°, with 60.34% saturation and 45.49% 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.66:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.93.
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.0712 |
Shades
#4e2eba mixed progressively with black.
Tints
#4e2eba mixed progressively with white.
Tones
#4e2eba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2eba {
color: #4e2eba;
}
.bg-4e2eba {
background-color: #4e2eba;
color: #ffffff;
}
.border-4e2eba {
border: 2px solid #4e2eba;
}
:root {
--color-primary: #4e2eba;
--color-primary-rgb: 78 46 186;
--color-primary-hsl: 254 60% 45%;
}
.gradient-4e2eba {
background: linear-gradient(135deg, #4e2eba, #942eba);
}
.shadow-4e2eba {
box-shadow: 0 8px 24px rgb(78 46 186 / 0.35);
}
Ocean Blue
#4e2eba rgb(78, 46, 186) hsl(254, 60%, 45%) Ocean Blue
#9aba2e rgb(154, 186, 46) hsl(74, 60%, 45%) Apple Green
#ba4e2e rgb(186, 78, 46) hsl(14, 60%, 45%) Rust
#2eba4e rgb(46, 186, 78) hsl(134, 60%, 45%) Emerald