#4004e2 ≈ Blue
#4004e2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 1.57% green and 88.63% blue; printed in CMYK it uses 71.68% cyan, 98.23% magenta, 0% yellow and 11.37% black. Its hue angle is 256.22°, with 96.52% saturation and 45.1% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 9:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0667 |
Shades
#4004e2 mixed progressively with black.
Tints
#4004e2 mixed progressively with white.
Tones
#4004e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4004e2 {
color: #4004e2;
}
.bg-4004e2 {
background-color: #4004e2;
color: #ffffff;
}
.border-4004e2 {
border: 2px solid #4004e2;
}
:root {
--color-primary: #4004e2;
--color-primary-rgb: 64 4 226;
--color-primary-hsl: 256 97% 45%;
}
.gradient-4004e2 {
background: linear-gradient(135deg, #4004e2, #af04e2);
}
.shadow-4004e2 {
box-shadow: 0 8px 24px rgb(64 4 226 / 0.35);
}
Blue
#4004e2 rgb(64, 4, 226) hsl(256, 97%, 45%) Blue
#a6e204 rgb(166, 226, 4) hsl(76, 97%, 45%) Inchworm
#e24004 rgb(226, 64, 4) hsl(16, 97%, 45%) Flame
#04e240 rgb(4, 226, 64) hsl(136, 97%, 45%) Malachite