#3D285E

#3d285e ≈ Midnight Blue

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

#3d285e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 23.92% red, 15.69% green and 36.86% blue; printed in CMYK it uses 35.11% cyan, 57.45% magenta, 0% yellow and 63.14% black. Its hue angle is 263.33°, with 40.3% saturation and 26.27% 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 12.62:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.2.

Description generated from the measured properties of this color.

Conversions of #3d285e 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.0332

Readable text 12.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #372f48 ≈ 0.001% of males
Protanopia #133360 ≈ 1.01% of males
Deuteranopia #19335d ≈ 1.27% of males
Tritanopia #36333e ≈ 0.0001% of males
Protanomaly #292f5f ≈ 1.08% of males
Deuteranomaly #2b2f5d ≈ 4.63% of males
Tritanomaly #392f4d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3d285e {
  color: #3d285e;
}
Background
.bg-3d285e {
  background-color: #3d285e;
  color: #ffffff;
}
Border
.border-3d285e {
  border: 2px solid #3d285e;
}
CSS variables
:root {
  --color-primary: #3d285e;
  --color-primary-rgb: 61 40 94;
  --color-primary-hsl: 263 40% 26%;
}
Gradient
.gradient-3d285e {
  background: linear-gradient(135deg, #3d285e, #58285e);
}
Colored shadow
.shadow-3d285e {
  box-shadow: 0 8px 24px rgb(61 40 94 / 0.35);
}

Midnight Blue
#3d285e  rgb(61, 40, 94)  hsl(263, 40%, 26%)  Midnight Blue
#495e28  rgb(73, 94, 40)  hsl(83, 40%, 26%)  Dark Olive Green
#5e3d28  rgb(94, 61, 40)  hsl(23, 40%, 26%)  Coffee
#285e3d  rgb(40, 94, 61)  hsl(143, 40%, 26%)  Hunter Green