#5e45af ≈ Ocean Blue
#5e45af is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.86% red, 27.06% green and 68.63% blue; printed in CMYK it uses 46.29% cyan, 60.57% magenta, 0% yellow and 31.37% black. Its hue angle is 254.15°, with 43.44% saturation and 47.84% 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.13:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.91.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0973 |
Shades
#5e45af mixed progressively with black.
Tints
#5e45af mixed progressively with white.
Tones
#5e45af mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5e45af {
color: #5e45af;
}
.bg-5e45af {
background-color: #5e45af;
color: #ffffff;
}
.border-5e45af {
border: 2px solid #5e45af;
}
:root {
--color-primary: #5e45af;
--color-primary-rgb: 94 69 175;
--color-primary-hsl: 254 43% 48%;
}
.gradient-5e45af {
background: linear-gradient(135deg, #5e45af, #9345af);
}
.shadow-5e45af {
box-shadow: 0 8px 24px rgb(94 69 175 / 0.35);
}
Ocean Blue
#5e45af rgb(94, 69, 175) hsl(254, 43%, 48%) Ocean Blue
#96af45 rgb(150, 175, 69) hsl(74, 43%, 48%) Apple Green
#af5e45 rgb(175, 94, 69) hsl(14, 43%, 48%) Sienna
#45af5e rgb(69, 175, 94) hsl(134, 43%, 48%) Medium Sea Green