#4245a4 ≈ Ocean Blue
#4245a4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.88% red, 27.06% green and 64.31% blue; printed in CMYK it uses 59.76% cyan, 57.93% magenta, 0% yellow and 35.69% black. Its hue angle is 238.16°, with 42.61% saturation and 45.1% 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 8.02:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.73.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0809 |
Shades
#4245a4 mixed progressively with black.
Tints
#4245a4 mixed progressively with white.
Tones
#4245a4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4245a4 {
color: #4245a4;
}
.bg-4245a4 {
background-color: #4245a4;
color: #ffffff;
}
.border-4245a4 {
border: 2px solid #4245a4;
}
:root {
--color-primary: #4245a4;
--color-primary-rgb: 66 69 164;
--color-primary-hsl: 238 43% 45%;
}
.gradient-4245a4 {
background: linear-gradient(135deg, #4245a4, #7042a4);
}
.shadow-4245a4 {
box-shadow: 0 8px 24px rgb(66 69 164 / 0.35);
}
Ocean Blue
#4245a4 rgb(66, 69, 164) hsl(238, 43%, 45%) Ocean Blue
#a4a142 rgb(164, 161, 66) hsl(58, 43%, 45%) Brass
#a44245 rgb(164, 66, 69) hsl(358, 43%, 45%) Cordovan
#45a442 rgb(69, 164, 66) hsl(118, 43%, 45%) Medium Sea Green