#20064B

#20064b ≈ Midnight Blue

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

#20064b is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 12.55% red, 2.35% green and 29.41% blue; printed in CMYK it uses 57.33% cyan, 92% magenta, 0% yellow and 70.59% black. Its hue angle is 262.61°, with 85.19% saturation and 15.88% 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.66:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.7.

Description generated from the measured properties of this color.

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

Readable text 17.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #1c1334 ≈ 0.001% of males
Protanopia #001a4d ≈ 1.01% of males
Deuteranopia #00174a ≈ 1.27% of males
Tritanopia #111b2a ≈ 0.0001% of males
Protanomaly #00144c ≈ 1.08% of males
Deuteranomaly #01124a ≈ 4.63% of males
Tritanomaly #18153a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-20064b {
  color: #20064b;
}
Background
.bg-20064b {
  background-color: #20064b;
  color: #ffffff;
}
Border
.border-20064b {
  border: 2px solid #20064b;
}
CSS variables
:root {
  --color-primary: #20064b;
  --color-primary-rgb: 32 6 75;
  --color-primary-hsl: 263 85% 16%;
}
Gradient
.gradient-20064b {
  background: linear-gradient(135deg, #20064b, #42064b);
}
Colored shadow
.shadow-20064b {
  box-shadow: 0 8px 24px rgb(32 6 75 / 0.35);
}

Midnight Blue
#20064b  rgb(32, 6, 75)  hsl(263, 85%, 16%)  Midnight Blue
#314b06  rgb(49, 75, 6)  hsl(83, 85%, 16%)  Army Green
#4b2006  rgb(75, 32, 6)  hsl(23, 85%, 16%)  Caput Mortuum
#064b20  rgb(6, 75, 32)  hsl(143, 85%, 16%)  British Racing Green