#321D54

#321d54 ≈ Midnight Blue

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

#321d54 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 32.94% blue; printed in CMYK it uses 40.48% cyan, 65.48% magenta, 0% yellow and 67.06% black. Its hue angle is 262.91°, with 48.67% saturation and 22.16% 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.59:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.05.

Description generated from the measured properties of this color.

Conversions of #321d54 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.022

Readable text 14.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #2d253e ≈ 0.001% of males
Protanopia #002956 ≈ 1.01% of males
Deuteranopia #072853 ≈ 1.27% of males
Tritanopia #2a2935 ≈ 0.0001% of males
Protanomaly #1d2555 ≈ 1.08% of males
Deuteranomaly #1f2453 ≈ 4.63% of males
Tritanomaly #2d2543 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-321d54 {
  color: #321d54;
}
Background
.bg-321d54 {
  background-color: #321d54;
  color: #ffffff;
}
Border
.border-321d54 {
  border: 2px solid #321d54;
}
CSS variables
:root {
  --color-primary: #321d54;
  --color-primary-rgb: 50 29 84;
  --color-primary-hsl: 263 49% 22%;
}
Gradient
.gradient-321d54 {
  background: linear-gradient(135deg, #321d54, #4e1d54);
}
Colored shadow
.shadow-321d54 {
  box-shadow: 0 8px 24px rgb(50 29 84 / 0.35);
}

Midnight Blue
#321d54  rgb(50, 29, 84)  hsl(263, 49%, 22%)  Midnight Blue
#3f541d  rgb(63, 84, 29)  hsl(83, 49%, 22%)  Army Green
#54321d  rgb(84, 50, 29)  hsl(23, 49%, 22%)  Bistre
#1d5432  rgb(29, 84, 50)  hsl(143, 49%, 22%)  Hunter Green