#331D50

#331d50 ≈ Midnight Blue

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

#331d50 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20% red, 11.37% green and 31.37% blue; printed in CMYK it uses 36.25% cyan, 63.75% magenta, 0% yellow and 68.63% black. Its hue angle is 265.88°, with 46.79% saturation and 21.37% 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.66:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.19.

Description generated from the measured properties of this color.

Conversions of #331d50 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.0216

Readable text 14.66: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 #2d243c ≈ 0.001% of males
Protanopia #052852 ≈ 1.01% of males
Deuteranopia #0e284f ≈ 1.27% of males
Tritanopia #2d2733 ≈ 0.0001% of males
Protanomaly #202451 ≈ 1.08% of males
Deuteranomaly #22244f ≈ 4.63% of males
Tritanomaly #302440 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331d50 {
  color: #331d50;
}
Background
.bg-331d50 {
  background-color: #331d50;
  color: #ffffff;
}
Border
.border-331d50 {
  border: 2px solid #331d50;
}
CSS variables
:root {
  --color-primary: #331d50;
  --color-primary-rgb: 51 29 80;
  --color-primary-hsl: 266 47% 21%;
}
Gradient
.gradient-331d50 {
  background: linear-gradient(135deg, #331d50, #4c1d50);
}
Colored shadow
.shadow-331d50 {
  box-shadow: 0 8px 24px rgb(51 29 80 / 0.35);
}

Midnight Blue
#331d50  rgb(51, 29, 80)  hsl(266, 47%, 21%)  Midnight Blue
#3a501d  rgb(58, 80, 29)  hsl(86, 47%, 21%)  Army Green
#50331d  rgb(80, 51, 29)  hsl(26, 47%, 21%)  Bistre
#1d5033  rgb(29, 80, 51)  hsl(146, 47%, 21%)  British Racing Green