#5f33cd ≈ Ocean Blue
#5f33cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 20% green and 80.39% blue; printed in CMYK it uses 53.66% cyan, 75.12% magenta, 0% yellow and 19.61% black. Its hue angle is 257.14°, with 60.63% saturation and 50.2% 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.39:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.36.
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.0921 |
Shades
#5f33cd mixed progressively with black.
Tints
#5f33cd mixed progressively with white.
Tones
#5f33cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f33cd {
color: #5f33cd;
}
.bg-5f33cd {
background-color: #5f33cd;
color: #ffffff;
}
.border-5f33cd {
border: 2px solid #5f33cd;
}
:root {
--color-primary: #5f33cd;
--color-primary-rgb: 95 51 205;
--color-primary-hsl: 257 61% 50%;
}
.gradient-5f33cd {
background: linear-gradient(135deg, #5f33cd, #ac33cd);
}
.shadow-5f33cd {
box-shadow: 0 8px 24px rgb(95 51 205 / 0.35);
}
Ocean Blue
#5f33cd rgb(95, 51, 205) hsl(257, 61%, 50%) Ocean Blue
#a1cd33 rgb(161, 205, 51) hsl(77, 61%, 50%) Yellow Green
#cd5f33 rgb(205, 95, 51) hsl(17, 61%, 50%) Flame
#33cd5f rgb(51, 205, 95) hsl(137, 61%, 50%) Malachite