#040ed3 ≈ Medium Blue
#040ed3 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.49% green and 82.75% blue; printed in CMYK it uses 98.1% cyan, 93.36% magenta, 0% yellow and 17.25% black. Its hue angle is 237.1°, with 96.28% saturation and 42.16% 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.46:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.52.
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.0504 |
Shades
#040ed3 mixed progressively with black.
Tints
#040ed3 mixed progressively with white.
Tones
#040ed3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040ed3 {
color: #040ed3;
}
.bg-040ed3 {
background-color: #040ed3;
color: #ffffff;
}
.border-040ed3 {
border: 2px solid #040ed3;
}
:root {
--color-primary: #040ed3;
--color-primary-rgb: 4 14 211;
--color-primary-hsl: 237 96% 42%;
}
.gradient-040ed3 {
background: linear-gradient(135deg, #040ed3, #6204d3);
}
.shadow-040ed3 {
box-shadow: 0 8px 24px rgb(4 14 211 / 0.35);
}
Medium Blue
#040ed3 rgb(4, 14, 211) hsl(237, 96%, 42%) Medium Blue
#d3c904 rgb(211, 201, 4) hsl(57, 96%, 42%) Citrine
#d3040e rgb(211, 4, 14) hsl(357, 96%, 42%) Rosso Corsa
#0ed304 rgb(14, 211, 4) hsl(117, 96%, 42%) Lime Green