#2004db ≈ Medium Blue
#2004db is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.55% red, 1.57% green and 85.88% blue; printed in CMYK it uses 85.39% cyan, 98.17% magenta, 0% yellow and 14.12% black. Its hue angle is 247.81°, with 96.41% saturation and 43.73% 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 9.99:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.44.
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.0551 |
Shades
#2004db mixed progressively with black.
Tints
#2004db mixed progressively with white.
Tones
#2004db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2004db {
color: #2004db;
}
.bg-2004db {
background-color: #2004db;
color: #ffffff;
}
.border-2004db {
border: 2px solid #2004db;
}
:root {
--color-primary: #2004db;
--color-primary-rgb: 32 4 219;
--color-primary-hsl: 248 96% 44%;
}
.gradient-2004db {
background: linear-gradient(135deg, #2004db, #8b04db);
}
.shadow-2004db {
box-shadow: 0 8px 24px rgb(32 4 219 / 0.35);
}
Medium Blue
#2004db rgb(32, 4, 219) hsl(248, 96%, 44%) Medium Blue
#bfdb04 rgb(191, 219, 4) hsl(68, 96%, 44%) Pear
#db2004 rgb(219, 32, 4) hsl(8, 96%, 44%) Rosso Corsa
#04db20 rgb(4, 219, 32) hsl(128, 96%, 44%) Lime Green