#0318cf ≈ Medium Blue
#0318cf 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 81.18% blue; printed in CMYK it uses 98.55% cyan, 88.41% magenta, 0% yellow and 18.82% black. Its hue angle is 233.82°, with 97.14% saturation and 41.18% 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.32:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.25.
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.0518 |
Shades
#0318cf mixed progressively with black.
Tints
#0318cf mixed progressively with white.
Tones
#0318cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0318cf {
color: #0318cf;
}
.bg-0318cf {
background-color: #0318cf;
color: #ffffff;
}
.border-0318cf {
border: 2px solid #0318cf;
}
:root {
--color-primary: #0318cf;
--color-primary-rgb: 3 24 207;
--color-primary-hsl: 234 97% 41%;
}
.gradient-0318cf {
background: linear-gradient(135deg, #0318cf, #5403cf);
}
.shadow-0318cf {
box-shadow: 0 8px 24px rgb(3 24 207 / 0.35);
}
Medium Blue
#0318cf rgb(3, 24, 207) hsl(234, 97%, 41%) Medium Blue
#cfba03 rgb(207, 186, 3) hsl(54, 97%, 41%) Old Gold
#cf0318 rgb(207, 3, 24) hsl(354, 97%, 41%) Lava
#18cf03 rgb(24, 207, 3) hsl(114, 97%, 41%) Lime Green