#321E4A

#321e4a ≈ Midnight Blue

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

#321e4a 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 29.02% blue; printed in CMYK it uses 32.43% cyan, 59.46% magenta, 0% yellow and 70.98% black. Its hue angle is 267.27°, with 42.31% saturation and 20.39% 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.79:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.75.

Description generated from the measured properties of this color.

Conversions of #321e4a 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.021

Readable text 14.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #2c2438 ≈ 0.001% of males
Protanopia #0e274b ≈ 1.01% of males
Deuteranopia #152849 ≈ 1.27% of males
Tritanopia #2e2630 ≈ 0.0001% of males
Protanomaly #21244b ≈ 1.08% of males
Deuteranomaly #232449 ≈ 4.63% of males
Tritanomaly #2f233c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#321e4a  rgb(50, 30, 74)  hsl(267, 42%, 20%)  Midnight Blue
#364a1e  rgb(54, 74, 30)  hsl(87, 42%, 20%)  Army Green
#4a321e  rgb(74, 50, 30)  hsl(27, 42%, 20%)  Bistre
#1e4a32  rgb(30, 74, 50)  hsl(147, 42%, 20%)  British Racing Green