#2f42eb ≈ Iris
#2f42eb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 25.88% green and 92.16% blue; printed in CMYK it uses 80% cyan, 71.91% magenta, 0% yellow and 7.84% black. Its hue angle is 233.94°, with 82.46% saturation and 55.29% 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.77:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.64.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.105 |
Shades
#2f42eb mixed progressively with black.
Tints
#2f42eb mixed progressively with white.
Tones
#2f42eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f42eb {
color: #2f42eb;
}
.bg-2f42eb {
background-color: #2f42eb;
color: #ffffff;
}
.border-2f42eb {
border: 2px solid #2f42eb;
}
:root {
--color-primary: #2f42eb;
--color-primary-rgb: 47 66 235;
--color-primary-hsl: 234 82% 55%;
}
.gradient-2f42eb {
background: linear-gradient(135deg, #2f42eb, #7a2feb);
}
.shadow-2f42eb {
box-shadow: 0 8px 24px rgb(47 66 235 / 0.35);
}
Iris
#2f42eb rgb(47, 66, 235) hsl(234, 82%, 55%) Iris
#ebd82f rgb(235, 216, 47) hsl(54, 82%, 55%) Citrine
#eb2f42 rgb(235, 47, 66) hsl(354, 82%, 55%) Tractor Red
#42eb2f rgb(66, 235, 47) hsl(114, 82%, 55%) Neon Green