#604fa8 ≈ Ocean Blue
#604fa8 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.65% red, 30.98% green and 65.88% blue; printed in CMYK it uses 42.86% cyan, 52.98% magenta, 0% yellow and 34.12% black. Its hue angle is 251.46°, with 36.03% saturation and 48.43% 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.6:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.28.
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.1091 |
Shades
#604fa8 mixed progressively with black.
Tints
#604fa8 mixed progressively with white.
Tones
#604fa8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-604fa8 {
color: #604fa8;
}
.bg-604fa8 {
background-color: #604fa8;
color: #ffffff;
}
.border-604fa8 {
border: 2px solid #604fa8;
}
:root {
--color-primary: #604fa8;
--color-primary-rgb: 96 79 168;
--color-primary-hsl: 251 36% 48%;
}
.gradient-604fa8 {
background: linear-gradient(135deg, #604fa8, #8c4fa8);
}
.shadow-604fa8 {
box-shadow: 0 8px 24px rgb(96 79 168 / 0.35);
}
Ocean Blue
#604fa8 rgb(96, 79, 168) hsl(251, 36%, 48%) Ocean Blue
#97a84f rgb(151, 168, 79) hsl(71, 36%, 48%) Moss Green
#a8604f rgb(168, 96, 79) hsl(11, 36%, 48%) Redwood
#4fa860 rgb(79, 168, 96) hsl(131, 36%, 48%) Medium Sea Green