#51549f ≈ Ocean Blue
#51549f is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 32.94% green and 62.35% blue; printed in CMYK it uses 49.06% cyan, 47.17% magenta, 0% yellow and 37.65% black. Its hue angle is 237.69°, with 32.5% saturation and 47.06% 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.73:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 7.09.
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.1059 |
Shades
#51549f mixed progressively with black.
Tints
#51549f mixed progressively with white.
Tones
#51549f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-51549f {
color: #51549f;
}
.bg-51549f {
background-color: #51549f;
color: #ffffff;
}
.border-51549f {
border: 2px solid #51549f;
}
:root {
--color-primary: #51549f;
--color-primary-rgb: 81 84 159;
--color-primary-hsl: 238 33% 47%;
}
.gradient-51549f {
background: linear-gradient(135deg, #51549f, #75519f);
}
.shadow-51549f {
box-shadow: 0 8px 24px rgb(81 84 159 / 0.35);
}
Ocean Blue
#51549f rgb(81, 84, 159) hsl(238, 33%, 47%) Ocean Blue
#9f9c51 rgb(159, 156, 81) hsl(58, 33%, 47%) Brass
#9f5154 rgb(159, 81, 84) hsl(358, 33%, 47%) Redwood
#549f51 rgb(84, 159, 81) hsl(118, 33%, 47%) Shamrock Green