#2E2175

#2e2175 ≈ Midnight Blue

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

#2e2175 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 12.94% green and 45.88% blue; printed in CMYK it uses 60.68% cyan, 71.79% magenta, 0% yellow and 54.12% black. Its hue angle is 249.29°, with 56% saturation and 29.41% 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 luxury branding. White text on this color reaches a contrast ratio of 13.2:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.11.

Description generated from the measured properties of this color.

Conversions of #2e2175 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.0295

Readable text 13.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #2f2b54 ≈ 0.001% of males
Protanopia #003378 ≈ 1.01% of males
Deuteranopia #002d73 ≈ 1.27% of males
Tritanopia #043748 ≈ 0.0001% of males
Protanomaly #042d77 ≈ 1.08% of males
Deuteranomaly #022974 ≈ 4.63% of males
Tritanomaly #1c305d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e2175 {
  color: #2e2175;
}
Background
.bg-2e2175 {
  background-color: #2e2175;
  color: #ffffff;
}
Border
.border-2e2175 {
  border: 2px solid #2e2175;
}
CSS variables
:root {
  --color-primary: #2e2175;
  --color-primary-rgb: 46 33 117;
  --color-primary-hsl: 249 56% 29%;
}
Gradient
.gradient-2e2175 {
  background: linear-gradient(135deg, #2e2175, #582175);
}
Colored shadow
.shadow-2e2175 {
  box-shadow: 0 8px 24px rgb(46 33 117 / 0.35);
}

Midnight Blue
#2e2175  rgb(46, 33, 117)  hsl(249, 56%, 29%)  Midnight Blue
#687521  rgb(104, 117, 33)  hsl(69, 56%, 29%)  Dark Olive Green
#752e21  rgb(117, 46, 33)  hsl(9, 56%, 29%)  Burnt Umber
#21752e  rgb(33, 117, 46)  hsl(129, 56%, 29%)  Cadmium Green