#522fb7 ≈ Ocean Blue
#522fb7 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.43% green and 71.76% blue; printed in CMYK it uses 55.19% cyan, 74.32% magenta, 0% yellow and 28.24% black. Its hue angle is 255.44°, with 59.13% saturation and 45.1% 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.57:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.78.
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.0725 |
Shades
#522fb7 mixed progressively with black.
Tints
#522fb7 mixed progressively with white.
Tones
#522fb7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-522fb7 {
color: #522fb7;
}
.bg-522fb7 {
background-color: #522fb7;
color: #ffffff;
}
.border-522fb7 {
border: 2px solid #522fb7;
}
:root {
--color-primary: #522fb7;
--color-primary-rgb: 82 47 183;
--color-primary-hsl: 255 59% 45%;
}
.gradient-522fb7 {
background: linear-gradient(135deg, #522fb7, #962fb7);
}
.shadow-522fb7 {
box-shadow: 0 8px 24px rgb(82 47 183 / 0.35);
}
Ocean Blue
#522fb7 rgb(82, 47, 183) hsl(255, 59%, 45%) Ocean Blue
#94b72f rgb(148, 183, 47) hsl(75, 59%, 45%) Apple Green
#b7522f rgb(183, 82, 47) hsl(15, 59%, 45%) Rust
#2fb752 rgb(47, 183, 82) hsl(135, 59%, 45%) Medium Sea Green