#1C0B5A

#1c0b5a ≈ Midnight Blue

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

#1c0b5a is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 10.98% red, 4.31% green and 35.29% blue; printed in CMYK it uses 68.89% cyan, 87.78% magenta, 0% yellow and 64.71% black. Its hue angle is 252.91°, with 78.22% saturation and 19.8% 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 16.87:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.68.

Description generated from the measured properties of this color.

Conversions of #1c0b5a 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.0122

Readable text 16.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1d1d1d ≈ 0.003% of males
Achromatomaly #1d173e ≈ 0.001% of males
Protanopia #00205c ≈ 1.01% of males
Deuteranopia #001a59 ≈ 1.27% of males
Tritanopia #002433 ≈ 0.0001% of males
Protanomaly #00195b ≈ 1.08% of males
Deuteranomaly #001559 ≈ 4.63% of males
Tritanomaly #071c46 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1c0b5a {
  color: #1c0b5a;
}
Background
.bg-1c0b5a {
  background-color: #1c0b5a;
  color: #ffffff;
}
Border
.border-1c0b5a {
  border: 2px solid #1c0b5a;
}
CSS variables
:root {
  --color-primary: #1c0b5a;
  --color-primary-rgb: 28 11 90;
  --color-primary-hsl: 253 78% 20%;
}
Gradient
.gradient-1c0b5a {
  background: linear-gradient(135deg, #1c0b5a, #430b5a);
}
Colored shadow
.shadow-1c0b5a {
  box-shadow: 0 8px 24px rgb(28 11 90 / 0.35);
}

Midnight Blue
#1c0b5a  rgb(28, 11, 90)  hsl(253, 78%, 20%)  Midnight Blue
#495a0b  rgb(73, 90, 11)  hsl(73, 78%, 20%)  Army Green
#5a1c0b  rgb(90, 28, 11)  hsl(13, 78%, 20%)  Caput Mortuum
#0b5a1c  rgb(11, 90, 28)  hsl(133, 78%, 20%)  Lincoln Green