#4e28bb ≈ Ocean Blue
#4e28bb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 15.69% green and 73.33% blue; printed in CMYK it uses 58.29% cyan, 78.61% magenta, 0% yellow and 26.67% black. Its hue angle is 255.51°, with 64.76% saturation and 44.51% 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.96:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.08.
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.0673 |
Shades
#4e28bb mixed progressively with black.
Tints
#4e28bb mixed progressively with white.
Tones
#4e28bb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e28bb {
color: #4e28bb;
}
.bg-4e28bb {
background-color: #4e28bb;
color: #ffffff;
}
.border-4e28bb {
border: 2px solid #4e28bb;
}
:root {
--color-primary: #4e28bb;
--color-primary-rgb: 78 40 187;
--color-primary-hsl: 256 65% 45%;
}
.gradient-4e28bb {
background: linear-gradient(135deg, #4e28bb, #9828bb);
}
.shadow-4e28bb {
box-shadow: 0 8px 24px rgb(78 40 187 / 0.35);
}
Ocean Blue
#4e28bb rgb(78, 40, 187) hsl(256, 65%, 45%) Ocean Blue
#95bb28 rgb(149, 187, 40) hsl(76, 65%, 45%) Apple Green
#bb4e28 rgb(187, 78, 40) hsl(16, 65%, 45%) Rust
#28bb4e rgb(40, 187, 78) hsl(136, 65%, 45%) Emerald