#40366B

#40366b ≈ Dark Slate Blue

  • violet
  • Lightness: low
  • Saturation: muted
  • Cool

#40366b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 21.18% green and 41.96% blue; printed in CMYK it uses 40.19% cyan, 49.53% magenta, 0% yellow and 58.04% black. Its hue angle is 251.32°, with 32.92% saturation and 31.57% 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 corporate identities. White text on this color reaches a contrast ratio of 10.73:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 6.24.

Description generated from the measured properties of this color.

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

Readable text 10.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #3f3b53 ≈ 0.001% of males
Protanopia #233f6d ≈ 1.01% of males
Deuteranopia #233d6a ≈ 1.27% of males
Tritanopia #35404b ≈ 0.0001% of males
Protanomaly #313b6c ≈ 1.08% of males
Deuteranomaly #313a6a ≈ 4.63% of males
Tritanomaly #3a3d5a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40366b {
  color: #40366b;
}
Background
.bg-40366b {
  background-color: #40366b;
  color: #ffffff;
}
Border
.border-40366b {
  border: 2px solid #40366b;
}
CSS variables
:root {
  --color-primary: #40366b;
  --color-primary-rgb: 64 54 107;
  --color-primary-hsl: 251 33% 32%;
}
Gradient
.gradient-40366b {
  background: linear-gradient(135deg, #40366b, #5b366b);
}
Colored shadow
.shadow-40366b {
  box-shadow: 0 8px 24px rgb(64 54 107 / 0.35);
}

Dark Slate Blue
#40366b  rgb(64, 54, 107)  hsl(251, 33%, 32%)  Dark Slate Blue
#616b36  rgb(97, 107, 54)  hsl(71, 33%, 32%)  Dark Olive Green
#6b4036  rgb(107, 64, 54)  hsl(11, 33%, 32%)  Liver
#366b40  rgb(54, 107, 64)  hsl(131, 33%, 32%)  Cadmium Green