#2E2D72

#2e2d72 ≈ Midnight Blue

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

#2e2d72 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 17.65% green and 44.71% blue; printed in CMYK it uses 59.65% cyan, 60.53% magenta, 0% yellow and 55.29% black. Its hue angle is 240.87°, with 43.4% saturation and 31.18% 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 12.11:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.94.

Description generated from the measured properties of this color.

Conversions of #2e2d72 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.0367

Readable text 12.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #333354 ≈ 0.001% of males
Protanopia #003974 ≈ 1.01% of males
Deuteranopia #003371 ≈ 1.27% of males
Tritanopia #073d4a ≈ 0.0001% of males
Protanomaly #183473 ≈ 1.08% of males
Deuteranomaly #153171 ≈ 4.63% of males
Tritanomaly #1d375d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e2d72 {
  color: #2e2d72;
}
Background
.bg-2e2d72 {
  background-color: #2e2d72;
  color: #ffffff;
}
Border
.border-2e2d72 {
  border: 2px solid #2e2d72;
}
CSS variables
:root {
  --color-primary: #2e2d72;
  --color-primary-rgb: 46 45 114;
  --color-primary-hsl: 241 43% 31%;
}
Gradient
.gradient-2e2d72 {
  background: linear-gradient(135deg, #2e2d72, #512d72);
}
Colored shadow
.shadow-2e2d72 {
  box-shadow: 0 8px 24px rgb(46 45 114 / 0.35);
}

Midnight Blue
#2e2d72  rgb(46, 45, 114)  hsl(241, 43%, 31%)  Midnight Blue
#71722d  rgb(113, 114, 45)  hsl(61, 43%, 31%)  Dark Olive Green
#722e2d  rgb(114, 46, 45)  hsl(1, 43%, 31%)  Wine
#2d722e  rgb(45, 114, 46)  hsl(121, 43%, 31%)  Fern Green