#4840c1 ≈ Ocean Blue
#4840c1 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 28.24% red, 25.1% green and 75.69% blue; printed in CMYK it uses 62.69% cyan, 66.84% magenta, 0% yellow and 24.31% black. Its hue angle is 243.72°, with 50.99% saturation and 50.39% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 7.56:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 1.97.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0889 |
Shades
#4840c1 mixed progressively with black.
Tints
#4840c1 mixed progressively with white.
Tones
#4840c1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4840c1 {
color: #4840c1;
}
.bg-4840c1 {
background-color: #4840c1;
color: #ffffff;
}
.border-4840c1 {
border: 2px solid #4840c1;
}
:root {
--color-primary: #4840c1;
--color-primary-rgb: 72 64 193;
--color-primary-hsl: 244 51% 50%;
}
.gradient-4840c1 {
background: linear-gradient(135deg, #4840c1, #8840c1);
}
.shadow-4840c1 {
box-shadow: 0 8px 24px rgb(72 64 193 / 0.35);
}
Ocean Blue
#4840c1 rgb(72, 64, 193) hsl(244, 51%, 50%) Ocean Blue
#b9c140 rgb(185, 193, 64) hsl(64, 51%, 50%) June Bud
#c14840 rgb(193, 72, 64) hsl(4, 51%, 50%) Persian Red
#40c148 rgb(64, 193, 72) hsl(124, 51%, 50%) Lime Green