#22042E

#22042e ≈ Midnight Blue

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

#22042e is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 13.33% red, 1.57% green and 18.04% blue; printed in CMYK it uses 26.09% cyan, 91.3% magenta, 0% yellow and 81.96% black. Its hue angle is 282.86°, with 84% saturation and 9.8% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 18.67:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.44.

Description generated from the measured properties of this color.

Conversions of #22042e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0062

Readable text 18.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #121212 ≈ 0.003% of males
Achromatomaly #1a0e20 ≈ 0.001% of males
Protanopia #00112f ≈ 1.01% of males
Deuteranopia #02132d ≈ 1.27% of males
Tritanopia #210d18 ≈ 0.0001% of males
Protanomaly #100c2f ≈ 1.08% of males
Deuteranomaly #140e2d ≈ 4.63% of males
Tritanomaly #210923 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-22042e {
  color: #22042e;
}
Background
.bg-22042e {
  background-color: #22042e;
  color: #ffffff;
}
Border
.border-22042e {
  border: 2px solid #22042e;
}
CSS variables
:root {
  --color-primary: #22042e;
  --color-primary-rgb: 34 4 46;
  --color-primary-hsl: 283 84% 10%;
}
Gradient
.gradient-22042e {
  background: linear-gradient(135deg, #22042e, #2e0425);
}
Colored shadow
.shadow-22042e {
  box-shadow: 0 8px 24px rgb(34 4 46 / 0.35);
}

Midnight Blue
#22042e  rgb(34, 4, 46)  hsl(283, 84%, 10%)  Midnight Blue
#102e04  rgb(16, 46, 4)  hsl(103, 84%, 10%)  Phthalo Green
#2e2204  rgb(46, 34, 4)  hsl(43, 84%, 10%)  Bistre
#042e22  rgb(4, 46, 34)  hsl(163, 84%, 10%)  Phthalo Green