#22012A

#22012a ≈ Midnight Blue

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

#22012a 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, 0.39% green and 16.47% blue; printed in CMYK it uses 19.05% cyan, 97.62% magenta, 0% yellow and 83.53% black. Its hue angle is 288.29°, with 95.35% saturation and 8.43% lightness in HSL. It sits between warm and cool, and is 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.99:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 15.49.

Description generated from the measured properties of this color.

Conversions of #22012a 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.0053

Readable text 18.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #101010 ≈ 0.003% of males
Achromatomaly #190b1d ≈ 0.001% of males
Protanopia #000e2b ≈ 1.01% of males
Deuteranopia #031129 ≈ 1.27% of males
Tritanopia #220815 ≈ 0.0001% of males
Protanomaly #10092b ≈ 1.08% of males
Deuteranomaly #140c29 ≈ 4.63% of males
Tritanomaly #22051f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-22012a {
  color: #22012a;
}
Background
.bg-22012a {
  background-color: #22012a;
  color: #ffffff;
}
Border
.border-22012a {
  border: 2px solid #22012a;
}
CSS variables
:root {
  --color-primary: #22012a;
  --color-primary-rgb: 34 1 42;
  --color-primary-hsl: 288 95% 8%;
}
Gradient
.gradient-22012a {
  background: linear-gradient(135deg, #22012a, #2a011d);
}
Colored shadow
.shadow-22012a {
  box-shadow: 0 8px 24px rgb(34 1 42 / 0.35);
}

Midnight Blue
#22012a  rgb(34, 1, 42)  hsl(288, 95%, 8%)  Midnight Blue
#092a01  rgb(9, 42, 1)  hsl(108, 95%, 8%)  Phthalo Green
#2a2201  rgb(42, 34, 1)  hsl(48, 95%, 8%)  Bistre
#012a22  rgb(1, 42, 34)  hsl(168, 95%, 8%)  Phthalo Green