#321D4D

#321d4d ≈ Midnight Blue

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

#321d4d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 19.61% red, 11.37% green and 30.2% blue; printed in CMYK it uses 35.06% cyan, 62.34% magenta, 0% yellow and 69.8% black. Its hue angle is 266.25°, with 45.28% saturation and 20.78% 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 14.8:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.8.

Description generated from the measured properties of this color.

Conversions of #321d4d 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.0209

Readable text 14.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #2c243a ≈ 0.001% of males
Protanopia #09274f ≈ 1.01% of males
Deuteranopia #10274c ≈ 1.27% of males
Tritanopia #2d2731 ≈ 0.0001% of males
Protanomaly #20244e ≈ 1.08% of males
Deuteranomaly #22244c ≈ 4.63% of males
Tritanomaly #2f233e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-321d4d {
  color: #321d4d;
}
Background
.bg-321d4d {
  background-color: #321d4d;
  color: #ffffff;
}
Border
.border-321d4d {
  border: 2px solid #321d4d;
}
CSS variables
:root {
  --color-primary: #321d4d;
  --color-primary-rgb: 50 29 77;
  --color-primary-hsl: 266 45% 21%;
}
Gradient
.gradient-321d4d {
  background: linear-gradient(135deg, #321d4d, #4a1d4d);
}
Colored shadow
.shadow-321d4d {
  box-shadow: 0 8px 24px rgb(50 29 77 / 0.35);
}

Midnight Blue
#321d4d  rgb(50, 29, 77)  hsl(266, 45%, 21%)  Midnight Blue
#384d1d  rgb(56, 77, 29)  hsl(86, 45%, 21%)  Army Green
#4d321d  rgb(77, 50, 29)  hsl(26, 45%, 21%)  Bistre
#1d4d32  rgb(29, 77, 50)  hsl(146, 45%, 21%)  British Racing Green