#2A4E5A

#2a4e5a ≈ Midnight Green

  • azure
  • Lightness: low
  • Saturation: muted
  • Cool

#2a4e5a is a color from the azure family, with low lightness and muted saturation. In the RGB model it is made of 16.47% red, 30.59% green and 35.29% blue; printed in CMYK it uses 53.33% cyan, 13.33% magenta, 0% yellow and 64.71% black. Its hue angle is 195°, with 36.36% saturation and 25.88% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 8.99:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 5.77.

Description generated from the measured properties of this color.

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

Readable text 8.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #3f4b50 ≈ 0.001% of males
Protanopia #474c5b ≈ 1.01% of males
Deuteranopia #40475a ≈ 1.27% of males
Tritanopia #0f5252 ≈ 0.0001% of males
Protanomaly #3d4d5a ≈ 1.08% of males
Deuteranomaly #384a5a ≈ 4.63% of males
Tritanomaly #1d5055 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a4e5a {
  color: #2a4e5a;
}
Background
.bg-2a4e5a {
  background-color: #2a4e5a;
  color: #ffffff;
}
Border
.border-2a4e5a {
  border: 2px solid #2a4e5a;
}
CSS variables
:root {
  --color-primary: #2a4e5a;
  --color-primary-rgb: 42 78 90;
  --color-primary-hsl: 195 36% 26%;
}
Gradient
.gradient-2a4e5a {
  background: linear-gradient(135deg, #2a4e5a, #2a365a);
}
Colored shadow
.shadow-2a4e5a {
  box-shadow: 0 8px 24px rgb(42 78 90 / 0.35);
}

Midnight Green
#2a4e5a  rgb(42, 78, 90)  hsl(195, 36%, 26%)  Midnight Green
#5a362a  rgb(90, 54, 42)  hsl(15, 36%, 26%)  Caput Mortuum
#5a2a4e  rgb(90, 42, 78)  hsl(315, 36%, 26%)  Byzantium
#4e5a2a  rgb(78, 90, 42)  hsl(75, 36%, 26%)  Army Green