#4e4fa2 ≈ Ocean Blue
#4e4fa2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 30.98% green and 63.53% blue; printed in CMYK it uses 51.85% cyan, 51.23% magenta, 0% yellow and 36.47% black. Its hue angle is 239.29°, with 35% saturation and 47.06% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 7.08:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0982 |
Shades
#4e4fa2 mixed progressively with black.
Tints
#4e4fa2 mixed progressively with white.
Tones
#4e4fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e4fa2 {
color: #4e4fa2;
}
.bg-4e4fa2 {
background-color: #4e4fa2;
color: #ffffff;
}
.border-4e4fa2 {
border: 2px solid #4e4fa2;
}
:root {
--color-primary: #4e4fa2;
--color-primary-rgb: 78 79 162;
--color-primary-hsl: 239 35% 47%;
}
.gradient-4e4fa2 {
background: linear-gradient(135deg, #4e4fa2, #774ea2);
}
.shadow-4e4fa2 {
box-shadow: 0 8px 24px rgb(78 79 162 / 0.35);
}
Ocean Blue
#4e4fa2 rgb(78, 79, 162) hsl(239, 35%, 47%) Ocean Blue
#a2a14e rgb(162, 161, 78) hsl(59, 35%, 47%) Brass
#a24e4f rgb(162, 78, 79) hsl(359, 35%, 47%) Redwood
#4fa24e rgb(79, 162, 78) hsl(119, 35%, 47%) Shamrock Green