#321F4B

#321f4b ≈ Midnight Blue

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

#321f4b 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 29.41% blue; printed in CMYK it uses 33.33% cyan, 58.67% magenta, 0% yellow and 70.59% black. Its hue angle is 265.91°, with 41.51% 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.65:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.62.

Description generated from the measured properties of this color.

Conversions of #321f4b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333333
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0217

Readable text 14.65: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 #2d2539 ≈ 0.001% of males
Protanopia #0f284c ≈ 1.01% of males
Deuteranopia #15284a ≈ 1.27% of males
Tritanopia #2d2731 ≈ 0.0001% of males
Protanomaly #22254c ≈ 1.08% of males
Deuteranomaly #24254a ≈ 4.63% of males
Tritanomaly #2f243d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#321f4b  rgb(50, 31, 75)  hsl(266, 42%, 21%)  Midnight Blue
#384b1f  rgb(56, 75, 31)  hsl(86, 42%, 21%)  Army Green
#4b321f  rgb(75, 50, 31)  hsl(26, 42%, 21%)  Bistre
#1f4b32  rgb(31, 75, 50)  hsl(146, 42%, 21%)  British Racing Green