#321F54

#321f54 ≈ Midnight Blue

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

#321f54 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.94% blue; printed in CMYK it uses 40.48% cyan, 63.1% magenta, 0% yellow and 67.06% black. Its hue angle is 261.51°, with 46.09% saturation and 22.55% 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.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.28.

Description generated from the measured properties of this color.

Conversions of #321f54 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.023

Readable text 14.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2a2a2a ≈ 0.003% of males
Achromatomaly #2d263f ≈ 0.001% of males
Protanopia #042a56 ≈ 1.01% of males
Deuteranopia #0b2953 ≈ 1.27% of males
Tritanopia #2a2a36 ≈ 0.0001% of males
Protanomaly #1f2655 ≈ 1.08% of males
Deuteranomaly #202553 ≈ 4.63% of males
Tritanomaly #2d2644 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#321f54  rgb(50, 31, 84)  hsl(262, 46%, 23%)  Midnight Blue
#41541f  rgb(65, 84, 31)  hsl(82, 46%, 23%)  Army Green
#54321f  rgb(84, 50, 31)  hsl(22, 46%, 23%)  Bistre
#1f5432  rgb(31, 84, 50)  hsl(142, 46%, 23%)  Hunter Green