#512ecb ≈ Ocean Blue
#512ecb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 18.04% green and 79.61% blue; printed in CMYK it uses 60.1% cyan, 77.34% magenta, 0% yellow and 20.39% black. Its hue angle is 253.38°, with 63.05% saturation and 48.82% 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.07:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.4.
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.0802 |
Shades
#512ecb mixed progressively with black.
Tints
#512ecb mixed progressively with white.
Tones
#512ecb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512ecb {
color: #512ecb;
}
.bg-512ecb {
background-color: #512ecb;
color: #ffffff;
}
.border-512ecb {
border: 2px solid #512ecb;
}
:root {
--color-primary: #512ecb;
--color-primary-rgb: 81 46 203;
--color-primary-hsl: 253 63% 49%;
}
.gradient-512ecb {
background: linear-gradient(135deg, #512ecb, #9f2ecb);
}
.shadow-512ecb {
box-shadow: 0 8px 24px rgb(81 46 203 / 0.35);
}
Ocean Blue
#512ecb rgb(81, 46, 203) hsl(253, 63%, 49%) Ocean Blue
#a8cb2e rgb(168, 203, 46) hsl(73, 63%, 49%) Yellow Green
#cb512e rgb(203, 81, 46) hsl(13, 63%, 49%) Sinopia
#2ecb51 rgb(46, 203, 81) hsl(133, 63%, 49%) Lime Green