#51549d ≈ Ocean Blue
#51549d 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 61.57% blue; printed in CMYK it uses 48.41% cyan, 46.5% magenta, 0% yellow and 38.43% black. Its hue angle is 237.63°, with 31.93% saturation and 46.67% 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.76:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 7.33.
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.1052 |
Shades
#51549d mixed progressively with black.
Tints
#51549d mixed progressively with white.
Tones
#51549d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-51549d {
color: #51549d;
}
.bg-51549d {
background-color: #51549d;
color: #ffffff;
}
.border-51549d {
border: 2px solid #51549d;
}
:root {
--color-primary: #51549d;
--color-primary-rgb: 81 84 157;
--color-primary-hsl: 238 32% 47%;
}
.gradient-51549d {
background: linear-gradient(135deg, #51549d, #74519d);
}
.shadow-51549d {
box-shadow: 0 8px 24px rgb(81 84 157 / 0.35);
}
Ocean Blue
#51549d rgb(81, 84, 157) hsl(238, 32%, 47%) Ocean Blue
#9d9a51 rgb(157, 154, 81) hsl(58, 32%, 47%) Moss Green
#9d5154 rgb(157, 81, 84) hsl(358, 32%, 47%) Redwood
#549d51 rgb(84, 157, 81) hsl(118, 32%, 47%) Shamrock Green