#5946a2 ≈ Ocean Blue
#5946a2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 34.9% red, 27.45% green and 63.53% blue; printed in CMYK it uses 45.06% cyan, 56.79% magenta, 0% yellow and 36.47% black. Its hue angle is 252.39°, with 39.66% saturation and 45.49% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.44:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.86.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0911 |
Shades
#5946a2 mixed progressively with black.
Tints
#5946a2 mixed progressively with white.
Tones
#5946a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5946a2 {
color: #5946a2;
}
.bg-5946a2 {
background-color: #5946a2;
color: #ffffff;
}
.border-5946a2 {
border: 2px solid #5946a2;
}
:root {
--color-primary: #5946a2;
--color-primary-rgb: 89 70 162;
--color-primary-hsl: 252 40% 45%;
}
.gradient-5946a2 {
background: linear-gradient(135deg, #5946a2, #8746a2);
}
.shadow-5946a2 {
box-shadow: 0 8px 24px rgb(89 70 162 / 0.35);
}
Ocean Blue
#5946a2 rgb(89, 70, 162) hsl(252, 40%, 45%) Ocean Blue
#8fa246 rgb(143, 162, 70) hsl(72, 40%, 45%) Moss Green
#a25946 rgb(162, 89, 70) hsl(12, 40%, 45%) Redwood
#46a259 rgb(70, 162, 89) hsl(132, 40%, 45%) Shamrock Green