#4a2eba ≈ Ocean Blue
#4a2eba is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.02% red, 18.04% green and 72.94% blue; printed in CMYK it uses 60.22% cyan, 75.27% magenta, 0% yellow and 27.06% black. Its hue angle is 252°, 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.78:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0696 |
Shades
#4a2eba mixed progressively with black.
Tints
#4a2eba mixed progressively with white.
Tones
#4a2eba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4a2eba {
color: #4a2eba;
}
.bg-4a2eba {
background-color: #4a2eba;
color: #ffffff;
}
.border-4a2eba {
border: 2px solid #4a2eba;
}
:root {
--color-primary: #4a2eba;
--color-primary-rgb: 74 46 186;
--color-primary-hsl: 252 60% 45%;
}
.gradient-4a2eba {
background: linear-gradient(135deg, #4a2eba, #902eba);
}
.shadow-4a2eba {
box-shadow: 0 8px 24px rgb(74 46 186 / 0.35);
}
Ocean Blue
#4a2eba rgb(74, 46, 186) hsl(252, 60%, 45%) Ocean Blue
#9eba2e rgb(158, 186, 46) hsl(72, 60%, 45%) Apple Green
#ba4a2e rgb(186, 74, 46) hsl(12, 60%, 45%) Rust
#2eba4a rgb(46, 186, 74) hsl(132, 60%, 45%) Kelly Green