#2A134D

#2a134d ≈ Midnight Blue

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

#2a134d is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 16.47% red, 7.45% green and 30.2% blue; printed in CMYK it uses 45.45% cyan, 75.32% magenta, 0% yellow and 69.8% black. Its hue angle is 263.79°, with 60.42% saturation and 18.82% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.17:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.91.

Description generated from the measured properties of this color.

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

Readable text 16.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #251c37 ≈ 0.001% of males
Protanopia #00214f ≈ 1.01% of males
Deuteranopia #00204c ≈ 1.27% of males
Tritanopia #21212e ≈ 0.0001% of males
Protanomaly #131c4e ≈ 1.08% of males
Deuteranomaly #151b4c ≈ 4.63% of males
Tritanomaly #251c3d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a134d {
  color: #2a134d;
}
Background
.bg-2a134d {
  background-color: #2a134d;
  color: #ffffff;
}
Border
.border-2a134d {
  border: 2px solid #2a134d;
}
CSS variables
:root {
  --color-primary: #2a134d;
  --color-primary-rgb: 42 19 77;
  --color-primary-hsl: 264 60% 19%;
}
Gradient
.gradient-2a134d {
  background: linear-gradient(135deg, #2a134d, #47134d);
}
Colored shadow
.shadow-2a134d {
  box-shadow: 0 8px 24px rgb(42 19 77 / 0.35);
}

Midnight Blue
#2a134d  rgb(42, 19, 77)  hsl(264, 60%, 19%)  Midnight Blue
#364d13  rgb(54, 77, 19)  hsl(84, 60%, 19%)  Army Green
#4d2a13  rgb(77, 42, 19)  hsl(24, 60%, 19%)  Bistre
#134d2a  rgb(19, 77, 42)  hsl(144, 60%, 19%)  British Racing Green