#2D1E53

#2d1e53 ≈ Midnight Blue

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

#2d1e53 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 11.76% green and 32.55% blue; printed in CMYK it uses 45.78% cyan, 63.86% magenta, 0% yellow and 67.45% black. Its hue angle is 256.98°, with 46.9% saturation and 22.16% 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.77:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.67.

Description generated from the measured properties of this color.

Conversions of #2d1e53 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.0211

Readable text 14.77: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 #2a243d ≈ 0.001% of males
Protanopia #002955 ≈ 1.01% of males
Deuteranopia #042752 ≈ 1.27% of males
Tritanopia #232a35 ≈ 0.0001% of males
Protanomaly #1a2554 ≈ 1.08% of males
Deuteranomaly #1b2452 ≈ 4.63% of males
Tritanomaly #272543 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d1e53 {
  color: #2d1e53;
}
Background
.bg-2d1e53 {
  background-color: #2d1e53;
  color: #ffffff;
}
Border
.border-2d1e53 {
  border: 2px solid #2d1e53;
}
CSS variables
:root {
  --color-primary: #2d1e53;
  --color-primary-rgb: 45 30 83;
  --color-primary-hsl: 257 47% 22%;
}
Gradient
.gradient-2d1e53 {
  background: linear-gradient(135deg, #2d1e53, #481e53);
}
Colored shadow
.shadow-2d1e53 {
  box-shadow: 0 8px 24px rgb(45 30 83 / 0.35);
}

Midnight Blue
#2d1e53  rgb(45, 30, 83)  hsl(257, 47%, 22%)  Midnight Blue
#44531e  rgb(68, 83, 30)  hsl(77, 47%, 22%)  Army Green
#532d1e  rgb(83, 45, 30)  hsl(17, 47%, 22%)  Caput Mortuum
#1e532d  rgb(30, 83, 45)  hsl(137, 47%, 22%)  Hunter Green