#522ec6 ≈ Ocean Blue
#522ec6 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 18.04% green and 77.65% blue; printed in CMYK it uses 58.59% cyan, 76.77% magenta, 0% yellow and 22.35% black. Its hue angle is 254.21°, with 62.3% saturation and 47.84% 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.19:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.21.
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.0783 |
Shades
#522ec6 mixed progressively with black.
Tints
#522ec6 mixed progressively with white.
Tones
#522ec6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-522ec6 {
color: #522ec6;
}
.bg-522ec6 {
background-color: #522ec6;
color: #ffffff;
}
.border-522ec6 {
border: 2px solid #522ec6;
}
:root {
--color-primary: #522ec6;
--color-primary-rgb: 82 46 198;
--color-primary-hsl: 254 62% 48%;
}
.gradient-522ec6 {
background: linear-gradient(135deg, #522ec6, #9e2ec6);
}
.shadow-522ec6 {
box-shadow: 0 8px 24px rgb(82 46 198 / 0.35);
}
Ocean Blue
#522ec6 rgb(82, 46, 198) hsl(254, 62%, 48%) Ocean Blue
#a2c62e rgb(162, 198, 46) hsl(74, 62%, 48%) Yellow Green
#c6522e rgb(198, 82, 46) hsl(14, 62%, 48%) Sinopia
#2ec652 rgb(46, 198, 82) hsl(134, 62%, 48%) Lime Green