#400A8D

#400a8d ≈ Indigo

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#400a8d is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 3.92% green and 55.29% blue; printed in CMYK it uses 54.61% cyan, 92.91% magenta, 0% yellow and 44.71% black. Its hue angle is 264.73°, with 86.75% saturation and 29.61% 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 luxury branding. White text on this color reaches a contrast ratio of 12.76:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #400a8d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0323

Readable text 12.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #323232 ≈ 0.003% of males
Achromatomaly #382763 ≈ 0.001% of males
Protanopia #003490 ≈ 1.01% of males
Deuteranopia #00308b ≈ 1.27% of males
Tritanopia #233751 ≈ 0.0001% of males
Protanomaly #00298f ≈ 1.08% of males
Deuteranomaly #00258c ≈ 4.63% of males
Tritanomaly #312b6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400a8d {
  color: #400a8d;
}
Background
.bg-400a8d {
  background-color: #400a8d;
  color: #ffffff;
}
Border
.border-400a8d {
  border: 2px solid #400a8d;
}
CSS variables
:root {
  --color-primary: #400a8d;
  --color-primary-rgb: 64 10 141;
  --color-primary-hsl: 265 87% 30%;
}
Gradient
.gradient-400a8d {
  background: linear-gradient(135deg, #400a8d, #820a8d);
}
Colored shadow
.shadow-400a8d {
  box-shadow: 0 8px 24px rgb(64 10 141 / 0.35);
}

Indigo
#400a8d  rgb(64, 10, 141)  hsl(265, 87%, 30%)  Indigo
#578d0a  rgb(87, 141, 10)  hsl(85, 87%, 30%)  Olive Drab
#8d400a  rgb(141, 64, 10)  hsl(25, 87%, 30%)  Saddle Brown
#0a8d40  rgb(10, 141, 64)  hsl(145, 87%, 30%)  Forest Green