#1A0551

#1a0551 ≈ Midnight Blue

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

#1a0551 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 10.2% red, 1.96% green and 31.76% blue; printed in CMYK it uses 67.9% cyan, 93.83% magenta, 0% yellow and 68.24% black. Its hue angle is 256.58°, with 88.37% saturation and 16.86% 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.73:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.52.

Description generated from the measured properties of this color.

Conversions of #1a0551 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.0092

Readable text 17.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #181818 ≈ 0.003% of males
Achromatomaly #191237 ≈ 0.001% of males
Protanopia #001a53 ≈ 1.01% of males
Deuteranopia #001650 ≈ 1.27% of males
Tritanopia #001e2d ≈ 0.0001% of males
Protanomaly #001452 ≈ 1.08% of males
Deuteranomaly #001050 ≈ 4.63% of males
Tritanomaly #0a163e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1a0551 {
  color: #1a0551;
}
Background
.bg-1a0551 {
  background-color: #1a0551;
  color: #ffffff;
}
Border
.border-1a0551 {
  border: 2px solid #1a0551;
}
CSS variables
:root {
  --color-primary: #1a0551;
  --color-primary-rgb: 26 5 81;
  --color-primary-hsl: 257 88% 17%;
}
Gradient
.gradient-1a0551 {
  background: linear-gradient(135deg, #1a0551, #400551);
}
Colored shadow
.shadow-1a0551 {
  box-shadow: 0 8px 24px rgb(26 5 81 / 0.35);
}

Midnight Blue
#1a0551  rgb(26, 5, 81)  hsl(257, 88%, 17%)  Midnight Blue
#3c5105  rgb(60, 81, 5)  hsl(77, 88%, 17%)  Army Green
#511a05  rgb(81, 26, 5)  hsl(17, 88%, 17%)  Caput Mortuum
#05511a  rgb(5, 81, 26)  hsl(137, 88%, 17%)  Lincoln Green