#2E2049

#2e2049 ≈ Midnight Blue

  • violet
  • Lightness: low
  • Saturation: muted
  • Cool

#2e2049 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.04% red, 12.55% green and 28.63% blue; printed in CMYK it uses 36.99% cyan, 56.16% magenta, 0% yellow and 71.37% black. Its hue angle is 260.49°, with 39.05% saturation and 20.59% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 14.8:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.78.

Description generated from the measured properties of this color.

Conversions of #2e2049 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333333
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0209

Readable text 14.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #2a2538 ≈ 0.001% of males
Protanopia #11284a ≈ 1.01% of males
Deuteranopia #152748 ≈ 1.27% of males
Tritanopia #282831 ≈ 0.0001% of males
Protanomaly #20254a ≈ 1.08% of males
Deuteranomaly #212548 ≈ 4.63% of males
Tritanomaly #2b253c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e2049 {
  color: #2e2049;
}
Background
.bg-2e2049 {
  background-color: #2e2049;
  color: #ffffff;
}
Border
.border-2e2049 {
  border: 2px solid #2e2049;
}
CSS variables
:root {
  --color-primary: #2e2049;
  --color-primary-rgb: 46 32 73;
  --color-primary-hsl: 260 39% 21%;
}
Gradient
.gradient-2e2049 {
  background: linear-gradient(135deg, #2e2049, #432049);
}
Colored shadow
.shadow-2e2049 {
  box-shadow: 0 8px 24px rgb(46 32 73 / 0.35);
}

Midnight Blue
#2e2049  rgb(46, 32, 73)  hsl(260, 39%, 21%)  Midnight Blue
#3b4920  rgb(59, 73, 32)  hsl(80, 39%, 21%)  Army Green
#492e20  rgb(73, 46, 32)  hsl(20, 39%, 21%)  Bistre
#20492e  rgb(32, 73, 46)  hsl(140, 39%, 21%)  British Racing Green