#4e54a6 ≈ Ocean Blue
#4e54a6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 32.94% green and 65.1% blue; printed in CMYK it uses 53.01% cyan, 49.4% magenta, 0% yellow and 34.9% black. Its hue angle is 235.91°, with 36.07% saturation and 47.84% 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 6.68:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1071 |
Shades
#4e54a6 mixed progressively with black.
Tints
#4e54a6 mixed progressively with white.
Tones
#4e54a6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e54a6 {
color: #4e54a6;
}
.bg-4e54a6 {
background-color: #4e54a6;
color: #ffffff;
}
.border-4e54a6 {
border: 2px solid #4e54a6;
}
:root {
--color-primary: #4e54a6;
--color-primary-rgb: 78 84 166;
--color-primary-hsl: 236 36% 48%;
}
.gradient-4e54a6 {
background: linear-gradient(135deg, #4e54a6, #744ea6);
}
.shadow-4e54a6 {
box-shadow: 0 8px 24px rgb(78 84 166 / 0.35);
}
Ocean Blue
#4e54a6 rgb(78, 84, 166) hsl(236, 36%, 48%) Ocean Blue
#a6a04e rgb(166, 160, 78) hsl(56, 36%, 48%) Brass
#a64e54 rgb(166, 78, 84) hsl(356, 36%, 48%) Redwood
#54a64e rgb(84, 166, 78) hsl(116, 36%, 48%) Medium Sea Green