#2f397e ≈ Dark Slate Blue
#2f397e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.43% red, 22.35% green and 49.41% blue; printed in CMYK it uses 62.7% cyan, 54.76% magenta, 0% yellow and 50.59% black. Its hue angle is 232.41°, with 45.66% saturation and 33.92% 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 corporate identities. White text on this color reaches a contrast ratio of 10.46:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0504 |
Shades
#2f397e mixed progressively with black.
Tints
#2f397e mixed progressively with white.
Tones
#2f397e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f397e {
color: #2f397e;
}
.bg-2f397e {
background-color: #2f397e;
color: #ffffff;
}
.border-2f397e {
border: 2px solid #2f397e;
}
:root {
--color-primary: #2f397e;
--color-primary-rgb: 47 57 126;
--color-primary-hsl: 232 46% 34%;
}
.gradient-2f397e {
background: linear-gradient(135deg, #2f397e, #4d2f7e);
}
.shadow-2f397e {
box-shadow: 0 8px 24px rgb(47 57 126 / 0.35);
}
Dark Slate Blue
#2f397e rgb(47, 57, 126) hsl(232, 46%, 34%) Dark Slate Blue
#7e742f rgb(126, 116, 47) hsl(52, 46%, 34%) Olive
#7e2f39 rgb(126, 47, 57) hsl(352, 46%, 34%) Wine
#397e2f rgb(57, 126, 47) hsl(112, 46%, 34%) Sap Green