#4a2fbc ≈ Ocean Blue
#4a2fbc 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.43% green and 73.73% blue; printed in CMYK it uses 60.64% cyan, 75% magenta, 0% yellow and 26.27% black. Its hue angle is 251.49°, with 60% saturation and 46.08% 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.75.
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.0712 |
Shades
#4a2fbc mixed progressively with black.
Tints
#4a2fbc mixed progressively with white.
Tones
#4a2fbc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4a2fbc {
color: #4a2fbc;
}
.bg-4a2fbc {
background-color: #4a2fbc;
color: #ffffff;
}
.border-4a2fbc {
border: 2px solid #4a2fbc;
}
:root {
--color-primary: #4a2fbc;
--color-primary-rgb: 74 47 188;
--color-primary-hsl: 251 60% 46%;
}
.gradient-4a2fbc {
background: linear-gradient(135deg, #4a2fbc, #912fbc);
}
.shadow-4a2fbc {
box-shadow: 0 8px 24px rgb(74 47 188 / 0.35);
}
Ocean Blue
#4a2fbc rgb(74, 47, 188) hsl(251, 60%, 46%) Ocean Blue
#a1bc2f rgb(161, 188, 47) hsl(71, 60%, 46%) Apple Green
#bc4a2f rgb(188, 74, 47) hsl(11, 60%, 46%) Rust
#2fbc4a rgb(47, 188, 74) hsl(131, 60%, 46%) Lime Green