#342faa ≈ Egyptian Blue
#342faa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 20.39% red, 18.43% green and 66.67% blue; printed in CMYK it uses 69.41% cyan, 72.35% magenta, 0% yellow and 33.33% black. Its hue angle is 242.44°, with 56.68% saturation and 42.55% 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 9.84:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.82.
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.0567 |
Shades
#342faa mixed progressively with black.
Tints
#342faa mixed progressively with white.
Tones
#342faa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342faa {
color: #342faa;
}
.bg-342faa {
background-color: #342faa;
color: #ffffff;
}
.border-342faa {
border: 2px solid #342faa;
}
:root {
--color-primary: #342faa;
--color-primary-rgb: 52 47 170;
--color-primary-hsl: 242 57% 43%;
}
.gradient-342faa {
background: linear-gradient(135deg, #342faa, #722faa);
}
.shadow-342faa {
box-shadow: 0 8px 24px rgb(52 47 170 / 0.35);
}
Egyptian Blue
#342faa rgb(52, 47, 170) hsl(242, 57%, 43%) Egyptian Blue
#a5aa2f rgb(165, 170, 47) hsl(62, 57%, 43%) Brass
#aa342f rgb(170, 52, 47) hsl(2, 57%, 43%) Brown
#2faa34 rgb(47, 170, 52) hsl(122, 57%, 43%) Kelly Green