#400ccf ≈ Medium Blue
#400ccf is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 4.71% green and 81.18% blue; printed in CMYK it uses 69.08% cyan, 94.2% magenta, 0% yellow and 18.82% black. Its hue angle is 256°, with 89.04% saturation and 42.94% 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.67:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.57.
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.0586 |
Shades
#400ccf mixed progressively with black.
Tints
#400ccf mixed progressively with white.
Tones
#400ccf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400ccf {
color: #400ccf;
}
.bg-400ccf {
background-color: #400ccf;
color: #ffffff;
}
.border-400ccf {
border: 2px solid #400ccf;
}
:root {
--color-primary: #400ccf;
--color-primary-rgb: 64 12 207;
--color-primary-hsl: 256 89% 43%;
}
.gradient-400ccf {
background: linear-gradient(135deg, #400ccf, #a10ccf);
}
.shadow-400ccf {
box-shadow: 0 8px 24px rgb(64 12 207 / 0.35);
}
Medium Blue
#400ccf rgb(64, 12, 207) hsl(256, 89%, 43%) Medium Blue
#9bcf0c rgb(155, 207, 12) hsl(76, 89%, 43%) Yellow Green
#cf400c rgb(207, 64, 12) hsl(16, 89%, 43%) Sinopia
#0ccf40 rgb(12, 207, 64) hsl(136, 89%, 43%) Lime Green