#2B2E77

#2b2e77 ≈ Midnight Blue

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

#2b2e77 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.86% red, 18.04% green and 46.67% blue; printed in CMYK it uses 63.87% cyan, 61.34% magenta, 0% yellow and 53.33% black. Its hue angle is 237.63°, with 46.91% saturation and 31.76% 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 corporate identities. White text on this color reaches a contrast ratio of 11.93:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.96.

Description generated from the measured properties of this color.

Conversions of #2b2e77 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.038

Readable text 11.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #323458 ≈ 0.001% of males
Protanopia #003a79 ≈ 1.01% of males
Deuteranopia #003476 ≈ 1.27% of males
Tritanopia #00404d ≈ 0.0001% of males
Protanomaly #133678 ≈ 1.08% of males
Deuteranomaly #0d3176 ≈ 4.63% of males
Tritanomaly #143961 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b2e77 {
  color: #2b2e77;
}
Background
.bg-2b2e77 {
  background-color: #2b2e77;
  color: #ffffff;
}
Border
.border-2b2e77 {
  border: 2px solid #2b2e77;
}
CSS variables
:root {
  --color-primary: #2b2e77;
  --color-primary-rgb: 43 46 119;
  --color-primary-hsl: 238 47% 32%;
}
Gradient
.gradient-2b2e77 {
  background: linear-gradient(135deg, #2b2e77, #4e2b77);
}
Colored shadow
.shadow-2b2e77 {
  box-shadow: 0 8px 24px rgb(43 46 119 / 0.35);
}

Midnight Blue
#2b2e77  rgb(43, 46, 119)  hsl(238, 47%, 32%)  Midnight Blue
#77742b  rgb(119, 116, 43)  hsl(58, 47%, 32%)  Olive
#772b2e  rgb(119, 43, 46)  hsl(358, 47%, 32%)  Wine
#2e772b  rgb(46, 119, 43)  hsl(118, 47%, 32%)  Green