#2A0A35

#2a0a35 ≈ Midnight Blue

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

#2a0a35 is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 16.47% red, 3.92% green and 20.78% blue; printed in CMYK it uses 20.75% cyan, 81.13% magenta, 0% yellow and 79.22% black. Its hue angle is 284.65°, with 68.25% saturation and 12.35% 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 17.6:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 13.82.

Description generated from the measured properties of this color.

Conversions of #2a0a35 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.0097

Readable text 17.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #211427 ≈ 0.001% of males
Protanopia #001736 ≈ 1.01% of males
Deuteranopia #0a1a34 ≈ 1.27% of males
Tritanopia #29121e ≈ 0.0001% of males
Protanomaly #181336 ≈ 1.08% of males
Deuteranomaly #1b1534 ≈ 4.63% of males
Tritanomaly #2a0f29 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a0a35 {
  color: #2a0a35;
}
Background
.bg-2a0a35 {
  background-color: #2a0a35;
  color: #ffffff;
}
Border
.border-2a0a35 {
  border: 2px solid #2a0a35;
}
CSS variables
:root {
  --color-primary: #2a0a35;
  --color-primary-rgb: 42 10 53;
  --color-primary-hsl: 285 68% 12%;
}
Gradient
.gradient-2a0a35 {
  background: linear-gradient(135deg, #2a0a35, #350a2a);
}
Colored shadow
.shadow-2a0a35 {
  box-shadow: 0 8px 24px rgb(42 10 53 / 0.35);
}

Midnight Blue
#2a0a35  rgb(42, 10, 53)  hsl(285, 68%, 12%)  Midnight Blue
#15350a  rgb(21, 53, 10)  hsl(105, 68%, 12%)  British Racing Green
#352a0a  rgb(53, 42, 10)  hsl(45, 68%, 12%)  Bistre
#0a352a  rgb(10, 53, 42)  hsl(165, 68%, 12%)  Phthalo Green