#040dd1 ≈ Medium Blue
#040dd1 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 5.1% green and 81.96% blue; printed in CMYK it uses 98.09% cyan, 93.78% magenta, 0% yellow and 18.04% black. Its hue angle is 237.37°, with 96.24% saturation and 41.76% 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.59:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0492 |
Shades
#040dd1 mixed progressively with black.
Tints
#040dd1 mixed progressively with white.
Tones
#040dd1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040dd1 {
color: #040dd1;
}
.bg-040dd1 {
background-color: #040dd1;
color: #ffffff;
}
.border-040dd1 {
border: 2px solid #040dd1;
}
:root {
--color-primary: #040dd1;
--color-primary-rgb: 4 13 209;
--color-primary-hsl: 237 96% 42%;
}
.gradient-040dd1 {
background: linear-gradient(135deg, #040dd1, #6204d1);
}
.shadow-040dd1 {
box-shadow: 0 8px 24px rgb(4 13 209 / 0.35);
}
Medium Blue
#040dd1 rgb(4, 13, 209) hsl(237, 96%, 42%) Medium Blue
#d1c804 rgb(209, 200, 4) hsl(57, 96%, 42%) Citrine
#d1040d rgb(209, 4, 13) hsl(357, 96%, 42%) Rosso Corsa
#0dd104 rgb(13, 209, 4) hsl(117, 96%, 42%) Lime Green