#4a2ea3 ≈ Ocean Blue
#4a2ea3 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 29.02% red, 18.04% green and 63.92% blue; printed in CMYK it uses 54.6% cyan, 71.78% magenta, 0% yellow and 36.08% black. Its hue angle is 254.36°, with 55.98% saturation and 40.98% 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.5:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0605 |
Shades
#4a2ea3 mixed progressively with black.
Tints
#4a2ea3 mixed progressively with white.
Tones
#4a2ea3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4a2ea3 {
color: #4a2ea3;
}
.bg-4a2ea3 {
background-color: #4a2ea3;
color: #ffffff;
}
.border-4a2ea3 {
border: 2px solid #4a2ea3;
}
:root {
--color-primary: #4a2ea3;
--color-primary-rgb: 74 46 163;
--color-primary-hsl: 254 56% 41%;
}
.gradient-4a2ea3 {
background: linear-gradient(135deg, #4a2ea3, #852ea3);
}
.shadow-4a2ea3 {
box-shadow: 0 8px 24px rgb(74 46 163 / 0.35);
}
Ocean Blue
#4a2ea3 rgb(74, 46, 163) hsl(254, 56%, 41%) Ocean Blue
#87a32e rgb(135, 163, 46) hsl(74, 56%, 41%) Apple Green
#a34a2e rgb(163, 74, 46) hsl(14, 56%, 41%) Sienna
#2ea34a rgb(46, 163, 74) hsl(134, 56%, 41%) Shamrock Green