#404aaa ≈ Ocean Blue
#404aaa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 29.02% green and 66.67% blue; printed in CMYK it uses 62.35% cyan, 56.47% magenta, 0% yellow and 33.33% black. Its hue angle is 234.34°, with 45.3% saturation and 45.88% 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.56:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.42.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0889 |
Shades
#404aaa mixed progressively with black.
Tints
#404aaa mixed progressively with white.
Tones
#404aaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-404aaa {
color: #404aaa;
}
.bg-404aaa {
background-color: #404aaa;
color: #ffffff;
}
.border-404aaa {
border: 2px solid #404aaa;
}
:root {
--color-primary: #404aaa;
--color-primary-rgb: 64 74 170;
--color-primary-hsl: 234 45% 46%;
}
.gradient-404aaa {
background: linear-gradient(135deg, #404aaa, #6b40aa);
}
.shadow-404aaa {
box-shadow: 0 8px 24px rgb(64 74 170 / 0.35);
}
Ocean Blue
#404aaa rgb(64, 74, 170) hsl(234, 45%, 46%) Ocean Blue
#aaa040 rgb(170, 160, 64) hsl(54, 45%, 46%) Brass
#aa404a rgb(170, 64, 74) hsl(354, 45%, 46%) Cardinal
#4aaa40 rgb(74, 170, 64) hsl(114, 45%, 46%) Kelly Green