#2e5ec6 ≈ Denim
#2e5ec6 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.04% red, 36.86% green and 77.65% blue; printed in CMYK it uses 76.77% cyan, 52.53% magenta, 0% yellow and 22.35% black. Its hue angle is 221.05°, with 62.3% saturation and 47.84% 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 5.94:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1266 |
Shades
#2e5ec6 mixed progressively with black.
Tints
#2e5ec6 mixed progressively with white.
Tones
#2e5ec6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e5ec6 {
color: #2e5ec6;
}
.bg-2e5ec6 {
background-color: #2e5ec6;
color: #ffffff;
}
.border-2e5ec6 {
border: 2px solid #2e5ec6;
}
:root {
--color-primary: #2e5ec6;
--color-primary-rgb: 46 94 198;
--color-primary-hsl: 221 62% 48%;
}
.gradient-2e5ec6 {
background: linear-gradient(135deg, #2e5ec6, #4a2ec6);
}
.shadow-2e5ec6 {
box-shadow: 0 8px 24px rgb(46 94 198 / 0.35);
}
Denim
#2e5ec6 rgb(46, 94, 198) hsl(221, 62%, 48%) Denim
#c6962e rgb(198, 150, 46) hsl(41, 62%, 48%) Dark Goldenrod
#c62e5e rgb(198, 46, 94) hsl(341, 62%, 48%) Dogwood Rose
#5ec62e rgb(94, 198, 46) hsl(101, 62%, 48%) Kelly Green