#400DE2

#400de2 ≈ Blue

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

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

Description generated from the measured properties of this color.

Conversions of #400de2 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.0687

Readable text 8.85: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 #0041e5 ≈ 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-400de2 {
  color: #400de2;
}
Background
.bg-400de2 {
  background-color: #400de2;
  color: #ffffff;
}
Border
.border-400de2 {
  border: 2px solid #400de2;
}
CSS variables
:root {
  --color-primary: #400de2;
  --color-primary-rgb: 64 13 226;
  --color-primary-hsl: 254 89% 47%;
}
Gradient
.gradient-400de2 {
  background: linear-gradient(135deg, #400de2, #ab0de2);
}
Colored shadow
.shadow-400de2 {
  box-shadow: 0 8px 24px rgb(64 13 226 / 0.35);
}

Blue
#400de2  rgb(64, 13, 226)  hsl(254, 89%, 47%)  Blue
#afe20d  rgb(175, 226, 13)  hsl(74, 89%, 47%)  June Bud
#e2400d  rgb(226, 64, 13)  hsl(14, 89%, 47%)  Flame
#0de240  rgb(13, 226, 64)  hsl(134, 89%, 47%)  Malachite