#3A244D

#3a244d ≈ Midnight Blue

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

#3a244d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 22.75% red, 14.12% green and 30.2% blue; printed in CMYK it uses 24.68% cyan, 53.25% magenta, 0% yellow and 69.8% black. Its hue angle is 272.2°, with 36.28% saturation and 22.16% 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 13.64:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.18.

Description generated from the measured properties of this color.

Conversions of #3a244d 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.027

Readable text 13.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #332a3c ≈ 0.001% of males
Protanopia #192d4e ≈ 1.01% of males
Deuteranopia #1f2e4c ≈ 1.27% of males
Tritanopia #372b34 ≈ 0.0001% of males
Protanomaly #2a2a4e ≈ 1.08% of males
Deuteranomaly #2c2a4c ≈ 4.63% of males
Tritanomaly #382840 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3a244d {
  color: #3a244d;
}
Background
.bg-3a244d {
  background-color: #3a244d;
  color: #ffffff;
}
Border
.border-3a244d {
  border: 2px solid #3a244d;
}
CSS variables
:root {
  --color-primary: #3a244d;
  --color-primary-rgb: 58 36 77;
  --color-primary-hsl: 272 36% 22%;
}
Gradient
.gradient-3a244d {
  background: linear-gradient(135deg, #3a244d, #4d244c);
}
Colored shadow
.shadow-3a244d {
  box-shadow: 0 8px 24px rgb(58 36 77 / 0.35);
}

Midnight Blue
#3a244d  rgb(58, 36, 77)  hsl(272, 36%, 22%)  Midnight Blue
#374d24  rgb(55, 77, 36)  hsl(92, 36%, 22%)  Army Green
#4d3a24  rgb(77, 58, 36)  hsl(32, 36%, 22%)  Taupe
#244d3a  rgb(36, 77, 58)  hsl(152, 36%, 22%)  British Racing Green