#321E4D

#321e4d ≈ Midnight Blue

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

#321e4d 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.76% green and 30.2% blue; printed in CMYK it uses 35.06% cyan, 61.04% magenta, 0% yellow and 69.8% black. Its hue angle is 265.53°, with 43.93% saturation and 20.98% 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.7:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.93.

Description generated from the measured properties of this color.

Conversions of #321e4d 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.0214

Readable text 14.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #2c243a ≈ 0.001% of males
Protanopia #0b284f ≈ 1.01% of males
Deuteranopia #12284c ≈ 1.27% of males
Tritanopia #2d2732 ≈ 0.0001% of males
Protanomaly #20244e ≈ 1.08% of males
Deuteranomaly #22244c ≈ 4.63% of males
Tritanomaly #2f243e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#321e4d  rgb(50, 30, 77)  hsl(266, 44%, 21%)  Midnight Blue
#394d1e  rgb(57, 77, 30)  hsl(86, 44%, 21%)  Army Green
#4d321e  rgb(77, 50, 30)  hsl(26, 44%, 21%)  Bistre
#1e4d32  rgb(30, 77, 50)  hsl(146, 44%, 21%)  British Racing Green