#4e40b3 ≈ Ocean Blue
#4e40b3 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 25.1% green and 70.2% blue; printed in CMYK it uses 56.42% cyan, 64.25% magenta, 0% yellow and 29.8% black. Its hue angle is 247.3°, with 47.33% saturation and 47.65% 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.75:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 0.62.
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.0854 |
Shades
#4e40b3 mixed progressively with black.
Tints
#4e40b3 mixed progressively with white.
Tones
#4e40b3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e40b3 {
color: #4e40b3;
}
.bg-4e40b3 {
background-color: #4e40b3;
color: #ffffff;
}
.border-4e40b3 {
border: 2px solid #4e40b3;
}
:root {
--color-primary: #4e40b3;
--color-primary-rgb: 78 64 179;
--color-primary-hsl: 247 47% 48%;
}
.gradient-4e40b3 {
background: linear-gradient(135deg, #4e40b3, #8840b3);
}
.shadow-4e40b3 {
box-shadow: 0 8px 24px rgb(78 64 179 / 0.35);
}
Ocean Blue
#4e40b3 rgb(78, 64, 179) hsl(247, 47%, 48%) Ocean Blue
#a5b340 rgb(165, 179, 64) hsl(67, 47%, 48%) Apple Green
#b34e40 rgb(179, 78, 64) hsl(7, 47%, 48%) Redwood
#40b34e rgb(64, 179, 78) hsl(127, 47%, 48%) Medium Sea Green