#404cb1 ≈ Ocean Blue
#404cb1 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.8% green and 69.41% blue; printed in CMYK it uses 63.84% cyan, 57.06% magenta, 0% yellow and 30.59% black. Its hue angle is 233.63°, with 46.89% saturation and 47.25% 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.27:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.51.
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.0943 |
Shades
#404cb1 mixed progressively with black.
Tints
#404cb1 mixed progressively with white.
Tones
#404cb1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-404cb1 {
color: #404cb1;
}
.bg-404cb1 {
background-color: #404cb1;
color: #ffffff;
}
.border-404cb1 {
border: 2px solid #404cb1;
}
:root {
--color-primary: #404cb1;
--color-primary-rgb: 64 76 177;
--color-primary-hsl: 234 47% 47%;
}
.gradient-404cb1 {
background: linear-gradient(135deg, #404cb1, #6c40b1);
}
.shadow-404cb1 {
box-shadow: 0 8px 24px rgb(64 76 177 / 0.35);
}
Ocean Blue
#404cb1 rgb(64, 76, 177) hsl(234, 47%, 47%) Ocean Blue
#b1a540 rgb(177, 165, 64) hsl(54, 47%, 47%) Brass
#b1404c rgb(177, 64, 76) hsl(354, 47%, 47%) Brick Red
#4cb140 rgb(76, 177, 64) hsl(114, 47%, 47%) Kelly Green