#5d40ca ≈ Ocean Blue
#5d40ca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 36.47% red, 25.1% green and 79.22% blue; printed in CMYK it uses 53.96% cyan, 68.32% magenta, 0% yellow and 20.78% black. Its hue angle is 252.61°, with 56.56% saturation and 52.16% 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.88:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1026 |
Shades
#5d40ca mixed progressively with black.
Tints
#5d40ca mixed progressively with white.
Tones
#5d40ca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5d40ca {
color: #5d40ca;
}
.bg-5d40ca {
background-color: #5d40ca;
color: #ffffff;
}
.border-5d40ca {
border: 2px solid #5d40ca;
}
:root {
--color-primary: #5d40ca;
--color-primary-rgb: 93 64 202;
--color-primary-hsl: 253 57% 52%;
}
.gradient-5d40ca {
background: linear-gradient(135deg, #5d40ca, #a240ca);
}
.shadow-5d40ca {
box-shadow: 0 8px 24px rgb(93 64 202 / 0.35);
}
Ocean Blue
#5d40ca rgb(93, 64, 202) hsl(253, 57%, 52%) Ocean Blue
#adca40 rgb(173, 202, 64) hsl(73, 57%, 52%) Yellow Green
#ca5d40 rgb(202, 93, 64) hsl(13, 57%, 52%) Cinnabar
#40ca5d rgb(64, 202, 93) hsl(133, 57%, 52%) Emerald