#20145D

#20145d ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#20145d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 12.55% red, 7.84% green and 36.47% blue; printed in CMYK it uses 65.59% cyan, 78.49% magenta, 0% yellow and 63.53% black. Its hue angle is 249.86°, with 64.6% saturation and 22.16% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 15.91:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.64.

Description generated from the measured properties of this color.

Conversions of #20145d 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.016

Readable text 15.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #211d41 ≈ 0.001% of males
Protanopia #00245f ≈ 1.01% of males
Deuteranopia #001f5c ≈ 1.27% of males
Tritanopia #002837 ≈ 0.0001% of males
Protanomaly #001f5e ≈ 1.08% of males
Deuteranomaly #001b5c ≈ 4.63% of males
Tritanomaly #0f2249 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-20145d {
  color: #20145d;
}
Background
.bg-20145d {
  background-color: #20145d;
  color: #ffffff;
}
Border
.border-20145d {
  border: 2px solid #20145d;
}
CSS variables
:root {
  --color-primary: #20145d;
  --color-primary-rgb: 32 20 93;
  --color-primary-hsl: 250 65% 22%;
}
Gradient
.gradient-20145d {
  background: linear-gradient(135deg, #20145d, #45145d);
}
Colored shadow
.shadow-20145d {
  box-shadow: 0 8px 24px rgb(32 20 93 / 0.35);
}

Midnight Blue
#20145d  rgb(32, 20, 93)  hsl(250, 65%, 22%)  Midnight Blue
#515d14  rgb(81, 93, 20)  hsl(70, 65%, 22%)  Army Green
#5d2014  rgb(93, 32, 20)  hsl(10, 65%, 22%)  Caput Mortuum
#145d20  rgb(20, 93, 32)  hsl(130, 65%, 22%)  Lincoln Green