#4e2ea7 ≈ Ocean Blue
#4e2ea7 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.04% green and 65.49% blue; printed in CMYK it uses 53.29% cyan, 72.46% magenta, 0% yellow and 34.51% black. Its hue angle is 255.87°, with 56.81% saturation and 41.76% 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.24:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.48.
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.0636 |
Shades
#4e2ea7 mixed progressively with black.
Tints
#4e2ea7 mixed progressively with white.
Tones
#4e2ea7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2ea7 {
color: #4e2ea7;
}
.bg-4e2ea7 {
background-color: #4e2ea7;
color: #ffffff;
}
.border-4e2ea7 {
border: 2px solid #4e2ea7;
}
:root {
--color-primary: #4e2ea7;
--color-primary-rgb: 78 46 167;
--color-primary-hsl: 256 57% 42%;
}
.gradient-4e2ea7 {
background: linear-gradient(135deg, #4e2ea7, #8a2ea7);
}
.shadow-4e2ea7 {
box-shadow: 0 8px 24px rgb(78 46 167 / 0.35);
}
Ocean Blue
#4e2ea7 rgb(78, 46, 167) hsl(256, 57%, 42%) Ocean Blue
#87a72e rgb(135, 167, 46) hsl(76, 57%, 42%) Apple Green
#a74e2e rgb(167, 78, 46) hsl(16, 57%, 42%) Sienna
#2ea74e rgb(46, 167, 78) hsl(136, 57%, 42%) Medium Sea Green