#321F52

#321f52 ≈ Midnight Blue

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

#321f52 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 19.61% red, 12.16% green and 32.16% blue; printed in CMYK it uses 39.02% cyan, 62.2% magenta, 0% yellow and 67.84% black. Its hue angle is 262.35°, with 45.13% 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.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.76.

Description generated from the measured properties of this color.

Conversions of #321f52 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.0227

Readable text 14.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2a2a2a ≈ 0.003% of males
Achromatomaly #2d263d ≈ 0.001% of males
Protanopia #072a54 ≈ 1.01% of males
Deuteranopia #0e2951 ≈ 1.27% of males
Tritanopia #2b2a35 ≈ 0.0001% of males
Protanomaly #1f2653 ≈ 1.08% of males
Deuteranomaly #212551 ≈ 4.63% of males
Tritanomaly #2e2642 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-321f52 {
  color: #321f52;
}
Background
.bg-321f52 {
  background-color: #321f52;
  color: #ffffff;
}
Border
.border-321f52 {
  border: 2px solid #321f52;
}
CSS variables
:root {
  --color-primary: #321f52;
  --color-primary-rgb: 50 31 82;
  --color-primary-hsl: 262 45% 22%;
}
Gradient
.gradient-321f52 {
  background: linear-gradient(135deg, #321f52, #4c1f52);
}
Colored shadow
.shadow-321f52 {
  box-shadow: 0 8px 24px rgb(50 31 82 / 0.35);
}

Midnight Blue
#321f52  rgb(50, 31, 82)  hsl(262, 45%, 22%)  Midnight Blue
#3f521f  rgb(63, 82, 31)  hsl(82, 45%, 22%)  Army Green
#52321f  rgb(82, 50, 31)  hsl(22, 45%, 22%)  Bistre
#1f5232  rgb(31, 82, 50)  hsl(142, 45%, 22%)  Hunter Green