#315eb8 ≈ Denim
#315eb8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 36.86% green and 72.16% blue; printed in CMYK it uses 73.37% cyan, 48.91% magenta, 0% yellow and 27.84% black. Its hue angle is 220°, with 57.94% saturation and 45.69% 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 6.13:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 2.58.
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.1212 |
Shades
#315eb8 mixed progressively with black.
Tints
#315eb8 mixed progressively with white.
Tones
#315eb8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-315eb8 {
color: #315eb8;
}
.bg-315eb8 {
background-color: #315eb8;
color: #ffffff;
}
.border-315eb8 {
border: 2px solid #315eb8;
}
:root {
--color-primary: #315eb8;
--color-primary-rgb: 49 94 184;
--color-primary-hsl: 220 58% 46%;
}
.gradient-315eb8 {
background: linear-gradient(135deg, #315eb8, #4831b8);
}
.shadow-315eb8 {
box-shadow: 0 8px 24px rgb(49 94 184 / 0.35);
}
Denim
#315eb8 rgb(49, 94, 184) hsl(220, 58%, 46%) Denim
#b88b31 rgb(184, 139, 49) hsl(40, 58%, 46%) Dark Goldenrod
#b8315e rgb(184, 49, 94) hsl(340, 58%, 46%) Dogwood Rose
#5eb831 rgb(94, 184, 49) hsl(100, 58%, 46%) Kelly Green