#5f4bb2 ≈ Ocean Blue
#5f4bb2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 29.41% green and 69.8% blue; printed in CMYK it uses 46.63% cyan, 57.87% magenta, 0% yellow and 30.2% black. Its hue angle is 251.65°, with 40.71% saturation and 49.61% 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 6.7:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.59.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1068 |
Shades
#5f4bb2 mixed progressively with black.
Tints
#5f4bb2 mixed progressively with white.
Tones
#5f4bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f4bb2 {
color: #5f4bb2;
}
.bg-5f4bb2 {
background-color: #5f4bb2;
color: #ffffff;
}
.border-5f4bb2 {
border: 2px solid #5f4bb2;
}
:root {
--color-primary: #5f4bb2;
--color-primary-rgb: 95 75 178;
--color-primary-hsl: 252 41% 50%;
}
.gradient-5f4bb2 {
background: linear-gradient(135deg, #5f4bb2, #934bb2);
}
.shadow-5f4bb2 {
box-shadow: 0 8px 24px rgb(95 75 178 / 0.35);
}
Ocean Blue
#5f4bb2 rgb(95, 75, 178) hsl(252, 41%, 50%) Ocean Blue
#9eb24b rgb(158, 178, 75) hsl(72, 41%, 50%) Apple Green
#b25f4b rgb(178, 95, 75) hsl(12, 41%, 50%) Redwood
#4bb25f rgb(75, 178, 95) hsl(132, 41%, 50%) Medium Sea Green