#22042F

#22042f ≈ Midnight Blue

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

#22042f 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.43% blue; printed in CMYK it uses 27.66% cyan, 91.49% magenta, 0% yellow and 81.57% black. Its hue angle is 281.86°, with 84.31% saturation and 10% 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.64:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.16.

Description generated from the measured properties of this color.

Conversions of #22042f 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.0063

Readable text 18.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #131313 ≈ 0.003% of males
Achromatomaly #1a0e21 ≈ 0.001% of males
Protanopia #001130 ≈ 1.01% of males
Deuteranopia #01132e ≈ 1.27% of males
Tritanopia #210d19 ≈ 0.0001% of males
Protanomaly #100d30 ≈ 1.08% of males
Deuteranomaly #130e2e ≈ 4.63% of males
Tritanomaly #210a23 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#22042f  rgb(34, 4, 47)  hsl(282, 84%, 10%)  Midnight Blue
#112f04  rgb(17, 47, 4)  hsl(102, 84%, 10%)  Phthalo Green
#2f2204  rgb(47, 34, 4)  hsl(42, 84%, 10%)  Bistre
#042f22  rgb(4, 47, 34)  hsl(162, 84%, 10%)  Phthalo Green