#5151cc ≈ Iris
#5151cc is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 31.76% green and 80% blue; printed in CMYK it uses 60.29% cyan, 60.29% magenta, 0% yellow and 20% black. Its hue angle is 240°, with 54.67% saturation and 55.88% 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 brand accents. White text on this color reaches a contrast ratio of 6.18:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 1.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6666cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1199 |
Shades
#5151cc mixed progressively with black.
Tints
#5151cc mixed progressively with white.
Tones
#5151cc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5151cc {
color: #5151cc;
}
.bg-5151cc {
background-color: #5151cc;
color: #ffffff;
}
.border-5151cc {
border: 2px solid #5151cc;
}
:root {
--color-primary: #5151cc;
--color-primary-rgb: 81 81 204;
--color-primary-hsl: 240 55% 56%;
}
.gradient-5151cc {
background: linear-gradient(135deg, #5151cc, #8e51cc);
}
.shadow-5151cc {
box-shadow: 0 8px 24px rgb(81 81 204 / 0.35);
}
Iris
#5151cc rgb(81, 81, 204) hsl(240, 55%, 56%) Iris
#cccc51 rgb(204, 204, 81) hsl(60, 55%, 56%) Straw
#cc5151 rgb(204, 81, 81) hsl(0, 55%, 56%) Indian Red
#51cc51 rgb(81, 204, 81) hsl(120, 55%, 56%) Lime Green