#4e4faf ≈ Ocean Blue
#4e4faf 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 68.63% blue; printed in CMYK it uses 55.43% cyan, 54.86% magenta, 0% yellow and 31.37% black. Its hue angle is 239.38°, with 38.34% saturation and 49.61% 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 6.86:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.23.
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.1031 |
Shades
#4e4faf mixed progressively with black.
Tints
#4e4faf mixed progressively with white.
Tones
#4e4faf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e4faf {
color: #4e4faf;
}
.bg-4e4faf {
background-color: #4e4faf;
color: #ffffff;
}
.border-4e4faf {
border: 2px solid #4e4faf;
}
:root {
--color-primary: #4e4faf;
--color-primary-rgb: 78 79 175;
--color-primary-hsl: 239 38% 50%;
}
.gradient-4e4faf {
background: linear-gradient(135deg, #4e4faf, #7e4eaf);
}
.shadow-4e4faf {
box-shadow: 0 8px 24px rgb(78 79 175 / 0.35);
}
Ocean Blue
#4e4faf rgb(78, 79, 175) hsl(239, 38%, 50%) Ocean Blue
#afae4e rgb(175, 174, 78) hsl(59, 38%, 50%) Brass
#af4e4f rgb(175, 78, 79) hsl(359, 38%, 50%) Redwood
#4faf4e rgb(79, 175, 78) hsl(119, 38%, 50%) Mantis