#4040df ≈ Iris
#4040df is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 25.1% green and 87.45% blue; printed in CMYK it uses 71.3% cyan, 71.3% magenta, 0% yellow and 12.55% black. Its hue angle is 240°, with 71.3% saturation and 56.27% 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.96:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 4.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1008 |
Shades
#4040df mixed progressively with black.
Tints
#4040df mixed progressively with white.
Tones
#4040df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4040df {
color: #4040df;
}
.bg-4040df {
background-color: #4040df;
color: #ffffff;
}
.border-4040df {
border: 2px solid #4040df;
}
:root {
--color-primary: #4040df;
--color-primary-rgb: 64 64 223;
--color-primary-hsl: 240 71% 56%;
}
.gradient-4040df {
background: linear-gradient(135deg, #4040df, #8f40df);
}
.shadow-4040df {
box-shadow: 0 8px 24px rgb(64 64 223 / 0.35);
}
Iris
#4040df rgb(64, 64, 223) hsl(240, 71%, 56%) Iris
#dfdf40 rgb(223, 223, 64) hsl(60, 71%, 56%) Pear
#df4040 rgb(223, 64, 64) hsl(0, 71%, 56%) Cinnabar
#40df40 rgb(64, 223, 64) hsl(120, 71%, 56%) Malachite