#4b2eba ≈ Ocean Blue
#4b2eba is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.41% red, 18.04% green and 72.94% blue; printed in CMYK it uses 59.68% cyan, 75.27% magenta, 0% yellow and 27.06% black. Its hue angle is 252.43°, 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.75: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 | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.07 |
Shades
#4b2eba mixed progressively with black.
Tints
#4b2eba mixed progressively with white.
Tones
#4b2eba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4b2eba {
color: #4b2eba;
}
.bg-4b2eba {
background-color: #4b2eba;
color: #ffffff;
}
.border-4b2eba {
border: 2px solid #4b2eba;
}
:root {
--color-primary: #4b2eba;
--color-primary-rgb: 75 46 186;
--color-primary-hsl: 252 60% 45%;
}
.gradient-4b2eba {
background: linear-gradient(135deg, #4b2eba, #912eba);
}
.shadow-4b2eba {
box-shadow: 0 8px 24px rgb(75 46 186 / 0.35);
}
Ocean Blue
#4b2eba rgb(75, 46, 186) hsl(252, 60%, 45%) Ocean Blue
#9dba2e rgb(157, 186, 46) hsl(72, 60%, 45%) Apple Green
#ba4b2e rgb(186, 75, 46) hsl(12, 60%, 45%) Rust
#2eba4b rgb(46, 186, 75) hsl(132, 60%, 45%) Kelly Green