#0c4dec ≈ Iris
#0c4dec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 4.71% red, 30.2% green and 92.55% blue; printed in CMYK it uses 94.92% cyan, 67.37% magenta, 0% yellow and 7.45% black. Its hue angle is 222.59°, with 90.32% saturation and 48.63% 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 6.39:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.36.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0066ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1144 |
Shades
#0c4dec mixed progressively with black.
Tints
#0c4dec mixed progressively with white.
Tones
#0c4dec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c4dec {
color: #0c4dec;
}
.bg-0c4dec {
background-color: #0c4dec;
color: #ffffff;
}
.border-0c4dec {
border: 2px solid #0c4dec;
}
:root {
--color-primary: #0c4dec;
--color-primary-rgb: 12 77 236;
--color-primary-hsl: 223 90% 49%;
}
.gradient-0c4dec {
background: linear-gradient(135deg, #0c4dec, #3b0cec);
}
.shadow-0c4dec {
box-shadow: 0 8px 24px rgb(12 77 236 / 0.35);
}
Iris
#0c4dec rgb(12, 77, 236) hsl(223, 90%, 49%) Iris
#ecab0c rgb(236, 171, 12) hsl(43, 90%, 49%) Goldenrod
#ec0c4d rgb(236, 12, 77) hsl(343, 90%, 49%) Amaranth
#4dec0c rgb(77, 236, 12) hsl(103, 90%, 49%) Harlequin