#2A1C74

#2a1c74 ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#2a1c74 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 10.98% green and 45.49% blue; printed in CMYK it uses 63.79% cyan, 75.86% magenta, 0% yellow and 54.51% black. Its hue angle is 249.55°, with 61.11% saturation and 28.24% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 13.85:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.23.

Description generated from the measured properties of this color.

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

Readable text 13.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #2c2752 ≈ 0.001% of males
Protanopia #003077 ≈ 1.01% of males
Deuteranopia #002972 ≈ 1.27% of males
Tritanopia #003446 ≈ 0.0001% of males
Protanomaly #002976 ≈ 1.08% of males
Deuteranomaly #002573 ≈ 4.63% of males
Tritanomaly #152c5c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a1c74 {
  color: #2a1c74;
}
Background
.bg-2a1c74 {
  background-color: #2a1c74;
  color: #ffffff;
}
Border
.border-2a1c74 {
  border: 2px solid #2a1c74;
}
CSS variables
:root {
  --color-primary: #2a1c74;
  --color-primary-rgb: 42 28 116;
  --color-primary-hsl: 250 61% 28%;
}
Gradient
.gradient-2a1c74 {
  background: linear-gradient(135deg, #2a1c74, #561c74);
}
Colored shadow
.shadow-2a1c74 {
  box-shadow: 0 8px 24px rgb(42 28 116 / 0.35);
}

Midnight Blue
#2a1c74  rgb(42, 28, 116)  hsl(250, 61%, 28%)  Midnight Blue
#66741c  rgb(102, 116, 28)  hsl(70, 61%, 28%)  Dark Olive Green
#742a1c  rgb(116, 42, 28)  hsl(10, 61%, 28%)  Falu Red
#1c742a  rgb(28, 116, 42)  hsl(130, 61%, 28%)  Pakistan Green