#400aaf ≈ Medium Blue
#400aaf is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 3.92% green and 68.63% blue; printed in CMYK it uses 63.43% cyan, 94.29% magenta, 0% yellow and 31.37% black. Its hue angle is 259.64°, with 89.19% saturation and 36.27% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 11.17:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.044 |
Shades
#400aaf mixed progressively with black.
Tints
#400aaf mixed progressively with white.
Tones
#400aaf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400aaf {
color: #400aaf;
}
.bg-400aaf {
background-color: #400aaf;
color: #ffffff;
}
.border-400aaf {
border: 2px solid #400aaf;
}
:root {
--color-primary: #400aaf;
--color-primary-rgb: 64 10 175;
--color-primary-hsl: 260 89% 36%;
}
.gradient-400aaf {
background: linear-gradient(135deg, #400aaf, #920aaf);
}
.shadow-400aaf {
box-shadow: 0 8px 24px rgb(64 10 175 / 0.35);
}
Medium Blue
#400aaf rgb(64, 10, 175) hsl(260, 89%, 36%) Medium Blue
#79af0a rgb(121, 175, 10) hsl(80, 89%, 36%) Apple Green
#af400a rgb(175, 64, 10) hsl(20, 89%, 36%) Rust
#0aaf40 rgb(10, 175, 64) hsl(140, 89%, 36%) Kelly Green