#2d40eb ≈ Iris
#2d40eb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 25.1% green and 92.16% blue; printed in CMYK it uses 80.85% cyan, 72.77% magenta, 0% yellow and 7.84% black. Its hue angle is 234°, with 82.61% saturation and 54.9% 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.9:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.94.
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.1022 |
Shades
#2d40eb mixed progressively with black.
Tints
#2d40eb mixed progressively with white.
Tones
#2d40eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d40eb {
color: #2d40eb;
}
.bg-2d40eb {
background-color: #2d40eb;
color: #ffffff;
}
.border-2d40eb {
border: 2px solid #2d40eb;
}
:root {
--color-primary: #2d40eb;
--color-primary-rgb: 45 64 235;
--color-primary-hsl: 234 83% 55%;
}
.gradient-2d40eb {
background: linear-gradient(135deg, #2d40eb, #792deb);
}
.shadow-2d40eb {
box-shadow: 0 8px 24px rgb(45 64 235 / 0.35);
}
Iris
#2d40eb rgb(45, 64, 235) hsl(234, 83%, 55%) Iris
#ebd82d rgb(235, 216, 45) hsl(54, 83%, 55%) Citrine
#eb2d40 rgb(235, 45, 64) hsl(354, 83%, 55%) Tractor Red
#40eb2d rgb(64, 235, 45) hsl(114, 83%, 55%) Neon Green