#400FDF

#400fdf ≈ Blue

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

#400fdf 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.88% green and 87.45% blue; printed in CMYK it uses 71.3% cyan, 93.27% magenta, 0% yellow and 12.55% black. Its hue angle is 254.13°, with 87.39% 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.93:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.4.

Description generated from the measured properties of this color.

Conversions of #400fdf 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.0676

Readable text 8.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #463a9d ≈ 0.001% of males
Protanopia #0051e4 ≈ 1.01% of males
Deuteranopia #0041dc ≈ 1.27% of males
Tritanopia #005d83 ≈ 0.0001% of males
Protanomaly #0040e2 ≈ 1.08% of males
Deuteranomaly #0033dd ≈ 4.63% of males
Tritanomaly #0049b0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400fdf {
  color: #400fdf;
}
Background
.bg-400fdf {
  background-color: #400fdf;
  color: #ffffff;
}
Border
.border-400fdf {
  border: 2px solid #400fdf;
}
CSS variables
:root {
  --color-primary: #400fdf;
  --color-primary-rgb: 64 15 223;
  --color-primary-hsl: 254 87% 47%;
}
Gradient
.gradient-400fdf {
  background: linear-gradient(135deg, #400fdf, #a80fdf);
}
Colored shadow
.shadow-400fdf {
  box-shadow: 0 8px 24px rgb(64 15 223 / 0.35);
}

Blue
#400fdf  rgb(64, 15, 223)  hsl(254, 87%, 47%)  Blue
#aedf0f  rgb(174, 223, 15)  hsl(74, 87%, 47%)  June Bud
#df400f  rgb(223, 64, 15)  hsl(14, 87%, 47%)  Sinopia
#0fdf40  rgb(15, 223, 64)  hsl(134, 87%, 47%)  Malachite