#400dcd ≈ Medium Blue
#400dcd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 5.1% green and 80.39% blue; printed in CMYK it uses 68.78% cyan, 93.66% magenta, 0% yellow and 19.61% black. Its hue angle is 255.94°, with 88.07% saturation and 42.75% 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 9.74:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.51.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0579 |
Shades
#400dcd mixed progressively with black.
Tints
#400dcd mixed progressively with white.
Tones
#400dcd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400dcd {
color: #400dcd;
}
.bg-400dcd {
background-color: #400dcd;
color: #ffffff;
}
.border-400dcd {
border: 2px solid #400dcd;
}
:root {
--color-primary: #400dcd;
--color-primary-rgb: 64 13 205;
--color-primary-hsl: 256 88% 43%;
}
.gradient-400dcd {
background: linear-gradient(135deg, #400dcd, #a00dcd);
}
.shadow-400dcd {
box-shadow: 0 8px 24px rgb(64 13 205 / 0.35);
}
Medium Blue
#400dcd rgb(64, 13, 205) hsl(256, 88%, 43%) Medium Blue
#9acd0d rgb(154, 205, 13) hsl(76, 88%, 43%) Yellow Green
#cd400d rgb(205, 64, 13) hsl(16, 88%, 43%) Sinopia
#0dcd40 rgb(13, 205, 64) hsl(136, 88%, 43%) Lime Green