#4042e4 ≈ Iris
#4042e4 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.88% green and 89.41% blue; printed in CMYK it uses 71.93% cyan, 71.05% magenta, 0% yellow and 10.59% black. Its hue angle is 239.27°, with 75.23% saturation and 57.25% 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.74:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 4.68.
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.1059 |
Shades
#4042e4 mixed progressively with black.
Tints
#4042e4 mixed progressively with white.
Tones
#4042e4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4042e4 {
color: #4042e4;
}
.bg-4042e4 {
background-color: #4042e4;
color: #ffffff;
}
.border-4042e4 {
border: 2px solid #4042e4;
}
:root {
--color-primary: #4042e4;
--color-primary-rgb: 64 66 228;
--color-primary-hsl: 239 75% 57%;
}
.gradient-4042e4 {
background: linear-gradient(135deg, #4042e4, #9040e4);
}
.shadow-4042e4 {
box-shadow: 0 8px 24px rgb(64 66 228 / 0.35);
}
Iris
#4042e4 rgb(64, 66, 228) hsl(239, 75%, 57%) Iris
#e4e240 rgb(228, 226, 64) hsl(59, 75%, 57%) Dandelion
#e44042 rgb(228, 64, 66) hsl(359, 75%, 57%) Cinnabar
#42e440 rgb(66, 228, 64) hsl(119, 75%, 57%) Malachite