#2A4E5B

#2a4e5b ≈ Midnight Green

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

#2a4e5b 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.69% blue; printed in CMYK it uses 53.85% cyan, 14.29% magenta, 0% yellow and 64.31% black. Its hue angle is 195.92°, with 36.84% saturation and 26.08% 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.98:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 6.12.

Description generated from the measured properties of this color.

Conversions of #2a4e5b 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.067

Readable text 8.98: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 #3f4b51 ≈ 0.001% of males
Protanopia #474c5c ≈ 1.01% of males
Deuteranopia #3f475b ≈ 1.27% of males
Tritanopia #0e5252 ≈ 0.0001% of males
Protanomaly #3d4d5b ≈ 1.08% of males
Deuteranomaly #384a5b ≈ 4.63% of males
Tritanomaly #1d5056 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Green
#2a4e5b  rgb(42, 78, 91)  hsl(196, 37%, 26%)  Midnight Green
#5b372a  rgb(91, 55, 42)  hsl(16, 37%, 26%)  Caput Mortuum
#5b2a4e  rgb(91, 42, 78)  hsl(316, 37%, 26%)  Byzantium
#4e5b2a  rgb(78, 91, 42)  hsl(76, 37%, 26%)  Army Green