#321F45

#321f45 ≈ Midnight Blue

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

#321f45 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 19.61% red, 12.16% green and 27.06% blue; printed in CMYK it uses 27.54% cyan, 55.07% magenta, 0% yellow and 72.94% black. Its hue angle is 270°, with 38% saturation and 19.61% 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.81:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.37.

Description generated from the measured properties of this color.

Conversions of #321f45 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.0209

Readable text 14.81: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 #2c2436 ≈ 0.001% of males
Protanopia #142746 ≈ 1.01% of males
Deuteranopia #192844 ≈ 1.27% of males
Tritanopia #2f262e ≈ 0.0001% of males
Protanomaly #232446 ≈ 1.08% of males
Deuteranomaly #252444 ≈ 4.63% of males
Tritanomaly #302339 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-321f45 {
  color: #321f45;
}
Background
.bg-321f45 {
  background-color: #321f45;
  color: #ffffff;
}
Border
.border-321f45 {
  border: 2px solid #321f45;
}
CSS variables
:root {
  --color-primary: #321f45;
  --color-primary-rgb: 50 31 69;
  --color-primary-hsl: 270 38% 20%;
}
Gradient
.gradient-321f45 {
  background: linear-gradient(135deg, #321f45, #451f45);
}
Colored shadow
.shadow-321f45 {
  box-shadow: 0 8px 24px rgb(50 31 69 / 0.35);
}

Midnight Blue
#321f45  rgb(50, 31, 69)  hsl(270, 38%, 20%)  Midnight Blue
#32451f  rgb(50, 69, 31)  hsl(90, 38%, 20%)  Army Green
#45321f  rgb(69, 50, 31)  hsl(30, 38%, 20%)  Bistre
#1f4532  rgb(31, 69, 50)  hsl(150, 38%, 20%)  Phthalo Green