#2A134F

#2a134f ≈ Midnight Blue

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

#2a134f 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.98% blue; printed in CMYK it uses 46.84% cyan, 75.95% magenta, 0% yellow and 69.02% black. Its hue angle is 263°, with 61.22% saturation and 19.22% 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.1:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.46.

Description generated from the measured properties of this color.

Conversions of #2a134f 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.0152

Readable text 16.1: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 #251c39 ≈ 0.001% of males
Protanopia #002151 ≈ 1.01% of males
Deuteranopia #00204e ≈ 1.27% of males
Tritanopia #20222f ≈ 0.0001% of males
Protanomaly #121c50 ≈ 1.08% of males
Deuteranomaly #141c4e ≈ 4.63% of males
Tritanomaly #241d3e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a134f {
  color: #2a134f;
}
Background
.bg-2a134f {
  background-color: #2a134f;
  color: #ffffff;
}
Border
.border-2a134f {
  border: 2px solid #2a134f;
}
CSS variables
:root {
  --color-primary: #2a134f;
  --color-primary-rgb: 42 19 79;
  --color-primary-hsl: 263 61% 19%;
}
Gradient
.gradient-2a134f {
  background: linear-gradient(135deg, #2a134f, #48134f);
}
Colored shadow
.shadow-2a134f {
  box-shadow: 0 8px 24px rgb(42 19 79 / 0.35);
}

Midnight Blue
#2a134f  rgb(42, 19, 79)  hsl(263, 61%, 19%)  Midnight Blue
#384f13  rgb(56, 79, 19)  hsl(83, 61%, 19%)  Army Green
#4f2a13  rgb(79, 42, 19)  hsl(23, 61%, 19%)  Bistre
#134f2a  rgb(19, 79, 42)  hsl(143, 61%, 19%)  British Racing Green