#5938ca ≈ Ocean Blue
#5938ca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.9% red, 21.96% green and 79.22% blue; printed in CMYK it uses 55.94% cyan, 72.28% magenta, 0% yellow and 20.78% black. Its hue angle is 253.56°, with 57.94% saturation and 50.59% 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.39:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.14.
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.0922 |
Shades
#5938ca mixed progressively with black.
Tints
#5938ca mixed progressively with white.
Tones
#5938ca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5938ca {
color: #5938ca;
}
.bg-5938ca {
background-color: #5938ca;
color: #ffffff;
}
.border-5938ca {
border: 2px solid #5938ca;
}
:root {
--color-primary: #5938ca;
--color-primary-rgb: 89 56 202;
--color-primary-hsl: 254 58% 51%;
}
.gradient-5938ca {
background: linear-gradient(135deg, #5938ca, #a238ca);
}
.shadow-5938ca {
box-shadow: 0 8px 24px rgb(89 56 202 / 0.35);
}
Ocean Blue
#5938ca rgb(89, 56, 202) hsl(254, 58%, 51%) Ocean Blue
#a9ca38 rgb(169, 202, 56) hsl(74, 58%, 51%) Yellow Green
#ca5938 rgb(202, 89, 56) hsl(14, 58%, 51%) Flame
#38ca59 rgb(56, 202, 89) hsl(134, 58%, 51%) Malachite