#301D59

#301d59 ≈ Midnight Blue

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

#301d59 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.82% red, 11.37% green and 34.9% blue; printed in CMYK it uses 46.07% cyan, 67.42% magenta, 0% yellow and 65.1% black. Its hue angle is 259°, with 50.85% saturation and 23.14% 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.53:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.61.

Description generated from the measured properties of this color.

Conversions of #301d59 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.0223

Readable text 14.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #2c2541 ≈ 0.001% of males
Protanopia #002a5b ≈ 1.01% of males
Deuteranopia #002858 ≈ 1.27% of males
Tritanopia #252b38 ≈ 0.0001% of males
Protanomaly #19255a ≈ 1.08% of males
Deuteranomaly #1b2458 ≈ 4.63% of males
Tritanomaly #2a2647 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-301d59 {
  color: #301d59;
}
Background
.bg-301d59 {
  background-color: #301d59;
  color: #ffffff;
}
Border
.border-301d59 {
  border: 2px solid #301d59;
}
CSS variables
:root {
  --color-primary: #301d59;
  --color-primary-rgb: 48 29 89;
  --color-primary-hsl: 259 51% 23%;
}
Gradient
.gradient-301d59 {
  background: linear-gradient(135deg, #301d59, #4e1d59);
}
Colored shadow
.shadow-301d59 {
  box-shadow: 0 8px 24px rgb(48 29 89 / 0.35);
}

Midnight Blue
#301d59  rgb(48, 29, 89)  hsl(259, 51%, 23%)  Midnight Blue
#46591d  rgb(70, 89, 29)  hsl(79, 51%, 23%)  Army Green
#59301d  rgb(89, 48, 29)  hsl(19, 51%, 23%)  Caput Mortuum
#1d5930  rgb(29, 89, 48)  hsl(139, 51%, 23%)  Hunter Green