#2E5766

#2e5766 ≈ Midnight Green

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

#2e5766 is a color from the azure family, with low lightness and muted saturation. In the RGB model it is made of 18.04% red, 34.12% green and 40% blue; printed in CMYK it uses 54.9% cyan, 14.71% magenta, 0% yellow and 60% black. Its hue angle is 196.07°, with 37.84% saturation and 29.02% 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 7.86:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 7.46.

Description generated from the measured properties of this color.

Conversions of #2e5766 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.0836

Readable text 7.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #46545a ≈ 0.001% of males
Protanopia #4f5567 ≈ 1.01% of males
Deuteranopia #464f66 ≈ 1.27% of males
Tritanopia #0b5c5c ≈ 0.0001% of males
Protanomaly #445666 ≈ 1.08% of males
Deuteranomaly #3e5266 ≈ 4.63% of males
Tritanomaly #1e5a60 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e5766 {
  color: #2e5766;
}
Background
.bg-2e5766 {
  background-color: #2e5766;
  color: #ffffff;
}
Border
.border-2e5766 {
  border: 2px solid #2e5766;
}
CSS variables
:root {
  --color-primary: #2e5766;
  --color-primary-rgb: 46 87 102;
  --color-primary-hsl: 196 38% 29%;
}
Gradient
.gradient-2e5766 {
  background: linear-gradient(135deg, #2e5766, #2e3b66);
}
Colored shadow
.shadow-2e5766 {
  box-shadow: 0 8px 24px rgb(46 87 102 / 0.35);
}

Midnight Green
#2e5766  rgb(46, 87, 102)  hsl(196, 38%, 29%)  Midnight Green
#663d2e  rgb(102, 61, 46)  hsl(16, 38%, 29%)  Coffee
#662e57  rgb(102, 46, 87)  hsl(316, 38%, 29%)  Byzantium
#57662e  rgb(87, 102, 46)  hsl(76, 38%, 29%)  Dark Olive Green