#40307C

#40307c ≈ Dark Slate Blue

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#40307c is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 18.82% green and 48.63% blue; printed in CMYK it uses 48.39% cyan, 61.29% magenta, 0% yellow and 51.37% black. Its hue angle is 252.63°, with 44.19% saturation and 33.73% 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.87:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #40307c 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.0466

Readable text 10.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #3e385d ≈ 0.001% of males
Protanopia #003f7e ≈ 1.01% of males
Deuteranopia #003b7a ≈ 1.27% of males
Tritanopia #2d4151 ≈ 0.0001% of males
Protanomaly #26397e ≈ 1.08% of males
Deuteranomaly #26377b ≈ 4.63% of males
Tritanomaly #353b65 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40307c {
  color: #40307c;
}
Background
.bg-40307c {
  background-color: #40307c;
  color: #ffffff;
}
Border
.border-40307c {
  border: 2px solid #40307c;
}
CSS variables
:root {
  --color-primary: #40307c;
  --color-primary-rgb: 64 48 124;
  --color-primary-hsl: 253 44% 34%;
}
Gradient
.gradient-40307c {
  background: linear-gradient(135deg, #40307c, #66307c);
}
Colored shadow
.shadow-40307c {
  box-shadow: 0 8px 24px rgb(64 48 124 / 0.35);
}

Dark Slate Blue
#40307c  rgb(64, 48, 124)  hsl(253, 44%, 34%)  Dark Slate Blue
#6c7c30  rgb(108, 124, 48)  hsl(73, 44%, 34%)  Sap Green
#7c4030  rgb(124, 64, 48)  hsl(13, 44%, 34%)  Burnt Umber
#307c40  rgb(48, 124, 64)  hsl(133, 44%, 34%)  Fern Green