#4e2ab1 ≈ Ocean Blue
#4e2ab1 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 69.41% blue; printed in CMYK it uses 55.93% cyan, 76.27% magenta, 0% yellow and 30.59% black. Its hue angle is 256°, with 61.64% saturation and 42.94% 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 9.17:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.86.
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.0645 |
Shades
#4e2ab1 mixed progressively with black.
Tints
#4e2ab1 mixed progressively with white.
Tones
#4e2ab1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2ab1 {
color: #4e2ab1;
}
.bg-4e2ab1 {
background-color: #4e2ab1;
color: #ffffff;
}
.border-4e2ab1 {
border: 2px solid #4e2ab1;
}
:root {
--color-primary: #4e2ab1;
--color-primary-rgb: 78 42 177;
--color-primary-hsl: 256 62% 43%;
}
.gradient-4e2ab1 {
background: linear-gradient(135deg, #4e2ab1, #912ab1);
}
.shadow-4e2ab1 {
box-shadow: 0 8px 24px rgb(78 42 177 / 0.35);
}
Ocean Blue
#4e2ab1 rgb(78, 42, 177) hsl(256, 62%, 43%) Ocean Blue
#8db12a rgb(141, 177, 42) hsl(76, 62%, 43%) Apple Green
#b14e2a rgb(177, 78, 42) hsl(16, 62%, 43%) Rust
#2ab14e rgb(42, 177, 78) hsl(136, 62%, 43%) Medium Sea Green