#512bbc ≈ Ocean Blue
#512bbc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 16.86% green and 73.73% blue; printed in CMYK it uses 56.91% cyan, 77.13% magenta, 0% yellow and 26.27% black. Its hue angle is 255.72°, with 62.77% saturation and 45.29% 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.67:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.54.
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.0711 |
Shades
#512bbc mixed progressively with black.
Tints
#512bbc mixed progressively with white.
Tones
#512bbc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512bbc {
color: #512bbc;
}
.bg-512bbc {
background-color: #512bbc;
color: #ffffff;
}
.border-512bbc {
border: 2px solid #512bbc;
}
:root {
--color-primary: #512bbc;
--color-primary-rgb: 81 43 188;
--color-primary-hsl: 256 63% 45%;
}
.gradient-512bbc {
background: linear-gradient(135deg, #512bbc, #992bbc);
}
.shadow-512bbc {
box-shadow: 0 8px 24px rgb(81 43 188 / 0.35);
}
Ocean Blue
#512bbc rgb(81, 43, 188) hsl(256, 63%, 45%) Ocean Blue
#96bc2b rgb(150, 188, 43) hsl(76, 63%, 45%) Apple Green
#bc512b rgb(188, 81, 43) hsl(16, 63%, 45%) Sinopia
#2bbc51 rgb(43, 188, 81) hsl(136, 63%, 45%) Emerald