#4004E2

#4004e2 ≈ Blue

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#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.

Conversions of #4004e2 into other color spaces
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 luminance0.0667

Readable text 9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #46399e ≈ 0.001% of males
Protanopia #0051e7 ≈ 1.01% of males
Deuteranopia #0040df ≈ 1.27% of males
Tritanopia #005d84 ≈ 0.0001% of males
Protanomaly #003fe5 ≈ 1.08% of males
Deuteranomaly #0031e0 ≈ 4.63% of males
Tritanomaly #0049b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4004e2 {
  color: #4004e2;
}
Background
.bg-4004e2 {
  background-color: #4004e2;
  color: #ffffff;
}
Border
.border-4004e2 {
  border: 2px solid #4004e2;
}
CSS variables
:root {
  --color-primary: #4004e2;
  --color-primary-rgb: 64 4 226;
  --color-primary-hsl: 256 97% 45%;
}
Gradient
.gradient-4004e2 {
  background: linear-gradient(135deg, #4004e2, #af04e2);
}
Colored shadow
.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