#504fa7 ≈ Ocean Blue
#504fa7 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.37% red, 30.98% green and 65.49% blue; printed in CMYK it uses 52.1% cyan, 52.69% magenta, 0% yellow and 34.51% black. Its hue angle is 240.68°, with 35.77% saturation and 48.24% 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.96:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.76.
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.1009 |
Shades
#504fa7 mixed progressively with black.
Tints
#504fa7 mixed progressively with white.
Tones
#504fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-504fa7 {
color: #504fa7;
}
.bg-504fa7 {
background-color: #504fa7;
color: #ffffff;
}
.border-504fa7 {
border: 2px solid #504fa7;
}
:root {
--color-primary: #504fa7;
--color-primary-rgb: 80 79 167;
--color-primary-hsl: 241 36% 48%;
}
.gradient-504fa7 {
background: linear-gradient(135deg, #504fa7, #7c4fa7);
}
.shadow-504fa7 {
box-shadow: 0 8px 24px rgb(80 79 167 / 0.35);
}
Ocean Blue
#504fa7 rgb(80, 79, 167) hsl(241, 36%, 48%) Ocean Blue
#a6a74f rgb(166, 167, 79) hsl(61, 36%, 48%) Brass
#a7504f rgb(167, 80, 79) hsl(1, 36%, 48%) Redwood
#4fa750 rgb(79, 167, 80) hsl(121, 36%, 48%) Medium Sea Green