#312baf ≈ Egyptian Blue
#312baf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 16.86% green and 68.63% blue; printed in CMYK it uses 72% cyan, 75.43% magenta, 0% yellow and 31.37% black. Its hue angle is 242.73°, with 60.55% saturation and 42.75% 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 10.02:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 4.4.
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.0548 |
Shades
#312baf mixed progressively with black.
Tints
#312baf mixed progressively with white.
Tones
#312baf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-312baf {
color: #312baf;
}
.bg-312baf {
background-color: #312baf;
color: #ffffff;
}
.border-312baf {
border: 2px solid #312baf;
}
:root {
--color-primary: #312baf;
--color-primary-rgb: 49 43 175;
--color-primary-hsl: 243 61% 43%;
}
.gradient-312baf {
background: linear-gradient(135deg, #312baf, #732baf);
}
.shadow-312baf {
box-shadow: 0 8px 24px rgb(49 43 175 / 0.35);
}
Egyptian Blue
#312baf rgb(49, 43, 175) hsl(243, 61%, 43%) Egyptian Blue
#a9af2b rgb(169, 175, 43) hsl(63, 61%, 43%) Brass
#af312b rgb(175, 49, 43) hsl(3, 61%, 43%) Firebrick
#2baf31 rgb(43, 175, 49) hsl(123, 61%, 43%) Kelly Green