#522dad ≈ Ocean Blue
#522dad is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 17.65% green and 67.84% blue; printed in CMYK it uses 52.6% cyan, 73.99% magenta, 0% yellow and 32.16% black. Its hue angle is 257.34°, with 58.72% saturation and 42.75% 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 8.98:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.45.
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.0669 |
Shades
#522dad mixed progressively with black.
Tints
#522dad mixed progressively with white.
Tones
#522dad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-522dad {
color: #522dad;
}
.bg-522dad {
background-color: #522dad;
color: #ffffff;
}
.border-522dad {
border: 2px solid #522dad;
}
:root {
--color-primary: #522dad;
--color-primary-rgb: 82 45 173;
--color-primary-hsl: 257 59% 43%;
}
.gradient-522dad {
background: linear-gradient(135deg, #522dad, #922dad);
}
.shadow-522dad {
box-shadow: 0 8px 24px rgb(82 45 173 / 0.35);
}
Ocean Blue
#522dad rgb(82, 45, 173) hsl(257, 59%, 43%) Ocean Blue
#88ad2d rgb(136, 173, 45) hsl(77, 59%, 43%) Apple Green
#ad522d rgb(173, 82, 45) hsl(17, 59%, 43%) Sienna
#2dad52 rgb(45, 173, 82) hsl(137, 59%, 43%) Medium Sea Green