#1f51ec ≈ Iris
#1f51ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.16% red, 31.76% green and 92.55% blue; printed in CMYK it uses 86.86% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 225.37°, with 84.36% saturation and 52.35% 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.09:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1223 |
Shades
#1f51ec mixed progressively with black.
Tints
#1f51ec mixed progressively with white.
Tones
#1f51ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f51ec {
color: #1f51ec;
}
.bg-1f51ec {
background-color: #1f51ec;
color: #ffffff;
}
.border-1f51ec {
border: 2px solid #1f51ec;
}
:root {
--color-primary: #1f51ec;
--color-primary-rgb: 31 81 236;
--color-primary-hsl: 225 84% 52%;
}
.gradient-1f51ec {
background: linear-gradient(135deg, #1f51ec, #541fec);
}
.shadow-1f51ec {
box-shadow: 0 8px 24px rgb(31 81 236 / 0.35);
}
Iris
#1f51ec rgb(31, 81, 236) hsl(225, 84%, 52%) Iris
#ecba1f rgb(236, 186, 31) hsl(45, 84%, 52%) Saffron
#ec1f51 rgb(236, 31, 81) hsl(345, 84%, 52%) Amaranth
#51ec1f rgb(81, 236, 31) hsl(105, 84%, 52%) Neon Green