#4e2fac ≈ Ocean Blue
#4e2fac is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 18.43% green and 67.45% blue; printed in CMYK it uses 54.65% cyan, 72.67% magenta, 0% yellow and 32.55% black. Its hue angle is 254.88°, with 57.08% 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.03:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.
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.0663 |
Shades
#4e2fac mixed progressively with black.
Tints
#4e2fac mixed progressively with white.
Tones
#4e2fac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2fac {
color: #4e2fac;
}
.bg-4e2fac {
background-color: #4e2fac;
color: #ffffff;
}
.border-4e2fac {
border: 2px solid #4e2fac;
}
:root {
--color-primary: #4e2fac;
--color-primary-rgb: 78 47 172;
--color-primary-hsl: 255 57% 43%;
}
.gradient-4e2fac {
background: linear-gradient(135deg, #4e2fac, #8c2fac);
}
.shadow-4e2fac {
box-shadow: 0 8px 24px rgb(78 47 172 / 0.35);
}
Ocean Blue
#4e2fac rgb(78, 47, 172) hsl(255, 57%, 43%) Ocean Blue
#8dac2f rgb(141, 172, 47) hsl(75, 57%, 43%) Apple Green
#ac4e2f rgb(172, 78, 47) hsl(15, 57%, 43%) Sienna
#2fac4e rgb(47, 172, 78) hsl(135, 57%, 43%) Medium Sea Green