#642ec3 ≈ Ocean Blue
#642ec3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 18.04% green and 76.47% blue; printed in CMYK it uses 48.72% cyan, 76.41% magenta, 0% yellow and 23.53% black. Its hue angle is 261.74°, with 61.83% saturation and 47.25% 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 7.72:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.99.
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.086 |
Shades
#642ec3 mixed progressively with black.
Tints
#642ec3 mixed progressively with white.
Tones
#642ec3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-642ec3 {
color: #642ec3;
}
.bg-642ec3 {
background-color: #642ec3;
color: #ffffff;
}
.border-642ec3 {
border: 2px solid #642ec3;
}
:root {
--color-primary: #642ec3;
--color-primary-rgb: 100 46 195;
--color-primary-hsl: 262 62% 47%;
}
.gradient-642ec3 {
background: linear-gradient(135deg, #642ec3, #ae2ec3);
}
.shadow-642ec3 {
box-shadow: 0 8px 24px rgb(100 46 195 / 0.35);
}
Ocean Blue
#642ec3 rgb(100, 46, 195) hsl(262, 62%, 47%) Ocean Blue
#8dc32e rgb(141, 195, 46) hsl(82, 62%, 47%) Yellow Green
#c3642e rgb(195, 100, 46) hsl(22, 62%, 47%) Chocolate
#2ec364 rgb(46, 195, 100) hsl(142, 62%, 47%) Emerald