#0318cd ≈ Medium Blue
#0318cd is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 9.41% green and 80.39% blue; printed in CMYK it uses 98.54% cyan, 88.29% magenta, 0% yellow and 19.61% black. Its hue angle is 233.76°, with 97.12% saturation and 40.78% 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.42:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.16.
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.0508 |
Shades
#0318cd mixed progressively with black.
Tints
#0318cd mixed progressively with white.
Tones
#0318cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0318cd {
color: #0318cd;
}
.bg-0318cd {
background-color: #0318cd;
color: #ffffff;
}
.border-0318cd {
border: 2px solid #0318cd;
}
:root {
--color-primary: #0318cd;
--color-primary-rgb: 3 24 205;
--color-primary-hsl: 234 97% 41%;
}
.gradient-0318cd {
background: linear-gradient(135deg, #0318cd, #5303cd);
}
.shadow-0318cd {
box-shadow: 0 8px 24px rgb(3 24 205 / 0.35);
}
Medium Blue
#0318cd rgb(3, 24, 205) hsl(234, 97%, 41%) Medium Blue
#cdb803 rgb(205, 184, 3) hsl(54, 97%, 41%) Old Gold
#cd0318 rgb(205, 3, 24) hsl(354, 97%, 41%) Venetian Red
#18cd03 rgb(24, 205, 3) hsl(114, 97%, 41%) Lime Green