#5135cd ≈ Ocean Blue
#5135cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 20.78% green and 80.39% blue; printed in CMYK it uses 60.49% cyan, 74.15% magenta, 0% yellow and 19.61% black. Its hue angle is 251.05°, with 60.32% saturation and 50.59% 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 7.66:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.48.
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.087 |
Shades
#5135cd mixed progressively with black.
Tints
#5135cd mixed progressively with white.
Tones
#5135cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5135cd {
color: #5135cd;
}
.bg-5135cd {
background-color: #5135cd;
color: #ffffff;
}
.border-5135cd {
border: 2px solid #5135cd;
}
:root {
--color-primary: #5135cd;
--color-primary-rgb: 81 53 205;
--color-primary-hsl: 251 60% 51%;
}
.gradient-5135cd {
background: linear-gradient(135deg, #5135cd, #9d35cd);
}
.shadow-5135cd {
box-shadow: 0 8px 24px rgb(81 53 205 / 0.35);
}
Ocean Blue
#5135cd rgb(81, 53, 205) hsl(251, 60%, 51%) Ocean Blue
#b1cd35 rgb(177, 205, 53) hsl(71, 60%, 51%) June Bud
#cd5135 rgb(205, 81, 53) hsl(11, 60%, 51%) Cinnabar
#35cd51 rgb(53, 205, 81) hsl(131, 60%, 51%) Lime Green