#2E205F

#2e205f ≈ Midnight Blue

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

#2e205f 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 37.25% blue; printed in CMYK it uses 51.58% cyan, 66.32% magenta, 0% yellow and 62.75% black. Its hue angle is 253.33°, with 49.61% saturation and 24.9% 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.11:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.44.

Description generated from the measured properties of this color.

Conversions of #2e205f 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.0244

Readable text 14.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #2c2746 ≈ 0.001% of males
Protanopia #002d61 ≈ 1.01% of males
Deuteranopia #002a5e ≈ 1.27% of males
Tritanopia #1e2f3c ≈ 0.0001% of males
Protanomaly #172860 ≈ 1.08% of males
Deuteranomaly #17265e ≈ 4.63% of males
Tritanomaly #252a4c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e205f {
  color: #2e205f;
}
Background
.bg-2e205f {
  background-color: #2e205f;
  color: #ffffff;
}
Border
.border-2e205f {
  border: 2px solid #2e205f;
}
CSS variables
:root {
  --color-primary: #2e205f;
  --color-primary-rgb: 46 32 95;
  --color-primary-hsl: 253 50% 25%;
}
Gradient
.gradient-2e205f {
  background: linear-gradient(135deg, #2e205f, #4d205f);
}
Colored shadow
.shadow-2e205f {
  box-shadow: 0 8px 24px rgb(46 32 95 / 0.35);
}

Midnight Blue
#2e205f  rgb(46, 32, 95)  hsl(253, 50%, 25%)  Midnight Blue
#515f20  rgb(81, 95, 32)  hsl(73, 50%, 25%)  Army Green
#5f2e20  rgb(95, 46, 32)  hsl(13, 50%, 25%)  Caput Mortuum
#205f2e  rgb(32, 95, 46)  hsl(133, 50%, 25%)  Hunter Green