#1E045B

#1e045b ≈ Midnight Blue

  • violet
  • Lightness: very low
  • Saturation: moderate
  • Cool

#1e045b is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 11.76% red, 1.57% green and 35.69% blue; printed in CMYK it uses 67.03% cyan, 95.6% magenta, 0% yellow and 64.31% black. Its hue angle is 257.93°, with 91.58% saturation and 18.63% 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 17.16:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.59.

Description generated from the measured properties of this color.

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

Readable text 17.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1b1b1b ≈ 0.003% of males
Achromatomaly #1c143e ≈ 0.001% of males
Protanopia #001e5d ≈ 1.01% of males
Deuteranopia #00185a ≈ 1.27% of males
Tritanopia #002133 ≈ 0.0001% of males
Protanomaly #00165c ≈ 1.08% of males
Deuteranomaly #00125a ≈ 4.63% of males
Tritanomaly #0c1946 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1e045b {
  color: #1e045b;
}
Background
.bg-1e045b {
  background-color: #1e045b;
  color: #ffffff;
}
Border
.border-1e045b {
  border: 2px solid #1e045b;
}
CSS variables
:root {
  --color-primary: #1e045b;
  --color-primary-rgb: 30 4 91;
  --color-primary-hsl: 258 92% 19%;
}
Gradient
.gradient-1e045b {
  background: linear-gradient(135deg, #1e045b, #4a045b);
}
Colored shadow
.shadow-1e045b {
  box-shadow: 0 8px 24px rgb(30 4 91 / 0.35);
}

Midnight Blue
#1e045b  rgb(30, 4, 91)  hsl(258, 92%, 19%)  Midnight Blue
#415b04  rgb(65, 91, 4)  hsl(78, 92%, 19%)  Army Green
#5b1e04  rgb(91, 30, 4)  hsl(18, 92%, 19%)  Caput Mortuum
#045b1e  rgb(4, 91, 30)  hsl(138, 92%, 19%)  Lincoln Green