#4f2ec8 ≈ Ocean Blue
#4f2ec8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.98% red, 18.04% green and 78.43% blue; printed in CMYK it uses 60.5% cyan, 77% magenta, 0% yellow and 21.57% black. Its hue angle is 252.86°, with 62.6% saturation and 48.24% 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.21:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0779 |
Shades
#4f2ec8 mixed progressively with black.
Tints
#4f2ec8 mixed progressively with white.
Tones
#4f2ec8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4f2ec8 {
color: #4f2ec8;
}
.bg-4f2ec8 {
background-color: #4f2ec8;
color: #ffffff;
}
.border-4f2ec8 {
border: 2px solid #4f2ec8;
}
:root {
--color-primary: #4f2ec8;
--color-primary-rgb: 79 46 200;
--color-primary-hsl: 253 63% 48%;
}
.gradient-4f2ec8 {
background: linear-gradient(135deg, #4f2ec8, #9c2ec8);
}
.shadow-4f2ec8 {
box-shadow: 0 8px 24px rgb(79 46 200 / 0.35);
}
Ocean Blue
#4f2ec8 rgb(79, 46, 200) hsl(253, 63%, 48%) Ocean Blue
#a7c82e rgb(167, 200, 46) hsl(73, 63%, 48%) Yellow Green
#c84f2e rgb(200, 79, 46) hsl(13, 63%, 48%) Sinopia
#2ec84f rgb(46, 200, 79) hsl(133, 63%, 48%) Lime Green