#120147

#120147 ≈ Midnight Blue

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

#120147 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 0.39% green and 27.84% blue; printed in CMYK it uses 74.65% cyan, 98.59% magenta, 0% yellow and 72.16% black. Its hue angle is 254.57°, with 97.22% saturation and 14.12% 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 18.73:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.05.

Description generated from the measured properties of this color.

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

Readable text 18.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #121212 ≈ 0.003% of males
Achromatomaly #120c2f ≈ 0.001% of males
Protanopia #001449 ≈ 1.01% of males
Deuteranopia #000f46 ≈ 1.27% of males
Tritanopia #001826 ≈ 0.0001% of males
Protanomaly #000e48 ≈ 1.08% of males
Deuteranomaly #000a46 ≈ 4.63% of males
Tritanomaly #011136 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-120147 {
  color: #120147;
}
Background
.bg-120147 {
  background-color: #120147;
  color: #ffffff;
}
Border
.border-120147 {
  border: 2px solid #120147;
}
CSS variables
:root {
  --color-primary: #120147;
  --color-primary-rgb: 18 1 71;
  --color-primary-hsl: 255 97% 14%;
}
Gradient
.gradient-120147 {
  background: linear-gradient(135deg, #120147, #350147);
}
Colored shadow
.shadow-120147 {
  box-shadow: 0 8px 24px rgb(18 1 71 / 0.35);
}

Midnight Blue
#120147  rgb(18, 1, 71)  hsl(255, 97%, 14%)  Midnight Blue
#364701  rgb(54, 71, 1)  hsl(75, 97%, 14%)  Army Green
#471201  rgb(71, 18, 1)  hsl(15, 97%, 14%)  Caput Mortuum
#014712  rgb(1, 71, 18)  hsl(135, 97%, 14%)  British Racing Green