#5c4ea1 ≈ Ocean Blue
#5c4ea1 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.08% red, 30.59% green and 63.14% blue; printed in CMYK it uses 42.86% cyan, 51.55% magenta, 0% yellow and 36.86% black. Its hue angle is 250.12°, with 34.73% saturation and 46.86% 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 6.86:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.55.
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.103 |
Shades
#5c4ea1 mixed progressively with black.
Tints
#5c4ea1 mixed progressively with white.
Tones
#5c4ea1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5c4ea1 {
color: #5c4ea1;
}
.bg-5c4ea1 {
background-color: #5c4ea1;
color: #ffffff;
}
.border-5c4ea1 {
border: 2px solid #5c4ea1;
}
:root {
--color-primary: #5c4ea1;
--color-primary-rgb: 92 78 161;
--color-primary-hsl: 250 35% 47%;
}
.gradient-5c4ea1 {
background: linear-gradient(135deg, #5c4ea1, #854ea1);
}
.shadow-5c4ea1 {
box-shadow: 0 8px 24px rgb(92 78 161 / 0.35);
}
Ocean Blue
#5c4ea1 rgb(92, 78, 161) hsl(250, 35%, 47%) Ocean Blue
#93a14e rgb(147, 161, 78) hsl(70, 35%, 47%) Moss Green
#a15c4e rgb(161, 92, 78) hsl(10, 35%, 47%) Redwood
#4ea15c rgb(78, 161, 92) hsl(130, 35%, 47%) Shamrock Green