#5d42ad ≈ Ocean Blue
#5d42ad is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.47% red, 25.88% green and 67.84% blue; printed in CMYK it uses 46.24% cyan, 61.85% magenta, 0% yellow and 32.16% black. Its hue angle is 255.14°, with 44.77% 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 7.37:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.87.
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.0924 |
Shades
#5d42ad mixed progressively with black.
Tints
#5d42ad mixed progressively with white.
Tones
#5d42ad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5d42ad {
color: #5d42ad;
}
.bg-5d42ad {
background-color: #5d42ad;
color: #ffffff;
}
.border-5d42ad {
border: 2px solid #5d42ad;
}
:root {
--color-primary: #5d42ad;
--color-primary-rgb: 93 66 173;
--color-primary-hsl: 255 45% 47%;
}
.gradient-5d42ad {
background: linear-gradient(135deg, #5d42ad, #9242ad);
}
.shadow-5d42ad {
box-shadow: 0 8px 24px rgb(93 66 173 / 0.35);
}
Ocean Blue
#5d42ad rgb(93, 66, 173) hsl(255, 45%, 47%) Ocean Blue
#92ad42 rgb(146, 173, 66) hsl(75, 45%, 47%) Apple Green
#ad5d42 rgb(173, 93, 66) hsl(15, 45%, 47%) Sienna
#42ad5d rgb(66, 173, 93) hsl(135, 45%, 47%) Medium Sea Green