#240dcc ≈ Medium Blue
#240dcc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 14.12% red, 5.1% green and 80% blue; printed in CMYK it uses 82.35% cyan, 93.63% magenta, 0% yellow and 20% black. Its hue angle is 247.23°, with 88.02% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.48:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.54.
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.0502 |
Shades
#240dcc mixed progressively with black.
Tints
#240dcc mixed progressively with white.
Tones
#240dcc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240dcc {
color: #240dcc;
}
.bg-240dcc {
background-color: #240dcc;
color: #ffffff;
}
.border-240dcc {
border: 2px solid #240dcc;
}
:root {
--color-primary: #240dcc;
--color-primary-rgb: 36 13 204;
--color-primary-hsl: 247 88% 43%;
}
.gradient-240dcc {
background: linear-gradient(135deg, #240dcc, #840dcc);
}
.shadow-240dcc {
box-shadow: 0 8px 24px rgb(36 13 204 / 0.35);
}
Medium Blue
#240dcc rgb(36, 13, 204) hsl(247, 88%, 43%) Medium Blue
#b5cc0d rgb(181, 204, 13) hsl(67, 88%, 43%) Pear
#cc240d rgb(204, 36, 13) hsl(7, 88%, 43%) Rosso Corsa
#0dcc24 rgb(13, 204, 36) hsl(127, 88%, 43%) Lime Green