#4e40c4 ≈ Ocean Blue
#4e40c4 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 25.1% green and 76.86% blue; printed in CMYK it uses 60.2% cyan, 67.35% magenta, 0% yellow and 23.14% black. Its hue angle is 246.36°, with 52.8% saturation and 50.98% 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.36:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.17.
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.0927 |
Shades
#4e40c4 mixed progressively with black.
Tints
#4e40c4 mixed progressively with white.
Tones
#4e40c4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e40c4 {
color: #4e40c4;
}
.bg-4e40c4 {
background-color: #4e40c4;
color: #ffffff;
}
.border-4e40c4 {
border: 2px solid #4e40c4;
}
:root {
--color-primary: #4e40c4;
--color-primary-rgb: 78 64 196;
--color-primary-hsl: 246 53% 51%;
}
.gradient-4e40c4 {
background: linear-gradient(135deg, #4e40c4, #9040c4);
}
.shadow-4e40c4 {
box-shadow: 0 8px 24px rgb(78 64 196 / 0.35);
}
Ocean Blue
#4e40c4 rgb(78, 64, 196) hsl(246, 53%, 51%) Ocean Blue
#b6c440 rgb(182, 196, 64) hsl(66, 53%, 51%) June Bud
#c44e40 rgb(196, 78, 64) hsl(6, 53%, 51%) Persian Red
#40c44e rgb(64, 196, 78) hsl(126, 53%, 51%) Lime Green