#5f48bf ≈ Ocean Blue
#5f48bf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 28.24% green and 74.9% blue; printed in CMYK it uses 50.26% cyan, 62.3% magenta, 0% yellow and 25.1% black. Its hue angle is 251.6°, with 48.18% saturation and 51.57% 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.63:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.24.
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.1083 |
Shades
#5f48bf mixed progressively with black.
Tints
#5f48bf mixed progressively with white.
Tones
#5f48bf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f48bf {
color: #5f48bf;
}
.bg-5f48bf {
background-color: #5f48bf;
color: #ffffff;
}
.border-5f48bf {
border: 2px solid #5f48bf;
}
:root {
--color-primary: #5f48bf;
--color-primary-rgb: 95 72 191;
--color-primary-hsl: 252 48% 52%;
}
.gradient-5f48bf {
background: linear-gradient(135deg, #5f48bf, #9b48bf);
}
.shadow-5f48bf {
box-shadow: 0 8px 24px rgb(95 72 191 / 0.35);
}
Ocean Blue
#5f48bf rgb(95, 72, 191) hsl(252, 48%, 52%) Ocean Blue
#a8bf48 rgb(168, 191, 72) hsl(72, 48%, 52%) Yellow Green
#bf5f48 rgb(191, 95, 72) hsl(12, 48%, 52%) Indian Red
#48bf5f rgb(72, 191, 95) hsl(132, 48%, 52%) Emerald