#400A8C

#400a8c ≈ Indigo

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

#400a8c 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 54.9% blue; printed in CMYK it uses 54.29% cyan, 92.86% magenta, 0% yellow and 45.1% black. Its hue angle is 264.92°, with 86.67% saturation and 29.41% 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.8:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.79.

Description generated from the measured properties of this color.

Conversions of #400a8c 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.032

Readable text 12.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #323232 ≈ 0.003% of males
Achromatomaly #382763 ≈ 0.001% of males
Protanopia #00348f ≈ 1.01% of males
Deuteranopia #002f8a ≈ 1.27% of males
Tritanopia #243651 ≈ 0.0001% of males
Protanomaly #00298e ≈ 1.08% of males
Deuteranomaly #00258b ≈ 4.63% of males
Tritanomaly #312b6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Indigo
#400a8c  rgb(64, 10, 140)  hsl(265, 87%, 29%)  Indigo
#568c0a  rgb(86, 140, 10)  hsl(85, 87%, 29%)  Avocado
#8c400a  rgb(140, 64, 10)  hsl(25, 87%, 29%)  Saddle Brown
#0a8c40  rgb(10, 140, 64)  hsl(145, 87%, 29%)  Sea Green