#22002E

#22002e ≈ Midnight Blue

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

#22002e 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% green and 18.04% blue; printed in CMYK it uses 26.09% cyan, 100% magenta, 0% yellow and 81.96% black. Its hue angle is 284.35°, with 100% saturation and 9.02% 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.96:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.35.

Description generated from the measured properties of this color.

Conversions of #22002e 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.0054

Readable text 18.96: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 #190b20 ≈ 0.001% of males
Protanopia #000e2f ≈ 1.01% of males
Deuteranopia #00112d ≈ 1.27% of males
Tritanopia #210917 ≈ 0.0001% of males
Protanomaly #0e092f ≈ 1.08% of males
Deuteranomaly #120b2d ≈ 4.63% of males
Tritanomaly #210522 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#22002e  rgb(34, 0, 46)  hsl(284, 100%, 9%)  Midnight Blue
#0c2e00  rgb(12, 46, 0)  hsl(104, 100%, 9%)  British Racing Green
#2e2200  rgb(46, 34, 0)  hsl(44, 100%, 9%)  Bistre
#002e22  rgb(0, 46, 34)  hsl(164, 100%, 9%)  Phthalo Green