#400CE2

#400ce2 ≈ Blue

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

#400ce2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 4.71% green and 88.63% blue; printed in CMYK it uses 71.68% cyan, 94.69% magenta, 0% yellow and 11.37% black. Its hue angle is 254.58°, with 89.92% saturation and 46.67% 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 8.87:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.14.

Description generated from the measured properties of this color.

Conversions of #400ce2 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.0684

Readable text 8.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #463a9f ≈ 0.001% of males
Protanopia #0052e7 ≈ 1.01% of males
Deuteranopia #0041df ≈ 1.27% of males
Tritanopia #005e85 ≈ 0.0001% of males
Protanomaly #0040e5 ≈ 1.08% of males
Deuteranomaly #0033e0 ≈ 4.63% of males
Tritanomaly #004ab2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400ce2 {
  color: #400ce2;
}
Background
.bg-400ce2 {
  background-color: #400ce2;
  color: #ffffff;
}
Border
.border-400ce2 {
  border: 2px solid #400ce2;
}
CSS variables
:root {
  --color-primary: #400ce2;
  --color-primary-rgb: 64 12 226;
  --color-primary-hsl: 255 90% 47%;
}
Gradient
.gradient-400ce2 {
  background: linear-gradient(135deg, #400ce2, #ab0ce2);
}
Colored shadow
.shadow-400ce2 {
  box-shadow: 0 8px 24px rgb(64 12 226 / 0.35);
}

Blue
#400ce2  rgb(64, 12, 226)  hsl(255, 90%, 47%)  Blue
#aee20c  rgb(174, 226, 12)  hsl(75, 90%, 47%)  June Bud
#e2400c  rgb(226, 64, 12)  hsl(15, 90%, 47%)  Flame
#0ce240  rgb(12, 226, 64)  hsl(135, 90%, 47%)  Malachite