#2D205E

#2d205e ≈ Midnight Blue

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

#2d205e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 12.55% green and 36.86% blue; printed in CMYK it uses 52.13% cyan, 65.96% magenta, 0% yellow and 63.14% black. Its hue angle is 252.58°, with 49.21% saturation and 24.71% 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.19:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.51.

Description generated from the measured properties of this color.

Conversions of #2d205e 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.024

Readable text 14.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #2c2745 ≈ 0.001% of males
Protanopia #002c60 ≈ 1.01% of males
Deuteranopia #00295d ≈ 1.27% of males
Tritanopia #1c2f3b ≈ 0.0001% of males
Protanomaly #16285f ≈ 1.08% of males
Deuteranomaly #17265d ≈ 4.63% of males
Tritanomaly #24294b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#2d205e  rgb(45, 32, 94)  hsl(253, 49%, 25%)  Midnight Blue
#515e20  rgb(81, 94, 32)  hsl(73, 49%, 25%)  Army Green
#5e2d20  rgb(94, 45, 32)  hsl(13, 49%, 25%)  Caput Mortuum
#205e2d  rgb(32, 94, 45)  hsl(133, 49%, 25%)  Hunter Green