#402ba0 ≈ Egyptian Blue
#402ba0 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 16.86% green and 62.75% blue; printed in CMYK it uses 60% cyan, 73.12% magenta, 0% yellow and 37.25% black. Its hue angle is 250.77°, with 57.64% saturation and 39.8% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 10.14:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 5.8.
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.0536 |
Shades
#402ba0 mixed progressively with black.
Tints
#402ba0 mixed progressively with white.
Tones
#402ba0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-402ba0 {
color: #402ba0;
}
.bg-402ba0 {
background-color: #402ba0;
color: #ffffff;
}
.border-402ba0 {
border: 2px solid #402ba0;
}
:root {
--color-primary: #402ba0;
--color-primary-rgb: 64 43 160;
--color-primary-hsl: 251 58% 40%;
}
.gradient-402ba0 {
background: linear-gradient(135deg, #402ba0, #7a2ba0);
}
.shadow-402ba0 {
box-shadow: 0 8px 24px rgb(64 43 160 / 0.35);
}
Egyptian Blue
#402ba0 rgb(64, 43, 160) hsl(251, 58%, 40%) Egyptian Blue
#8ba02b rgb(139, 160, 43) hsl(71, 58%, 40%) Apple Green
#a0402b rgb(160, 64, 43) hsl(11, 58%, 40%) Chestnut
#2ba040 rgb(43, 160, 64) hsl(131, 58%, 40%) Shamrock Green