#1F596B

#1f596b ≈ Midnight Green

  • cyan
  • Lightness: low
  • Saturation: moderate
  • Cool

#1f596b is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 34.9% green and 41.96% blue; printed in CMYK it uses 71.03% cyan, 16.82% magenta, 0% yellow and 58.04% black. Its hue angle is 194.21°, with 55.07% saturation and 27.06% lightness in HSL. It is a cool color, often associated with freshness, technology and clarity. Designers typically use it for health and wellness, technology products and luxury branding. White text on this color reaches a contrast ratio of 7.78:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 6.99.

Description generated from the measured properties of this color.

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

Readable text 7.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #43555d ≈ 0.001% of males
Protanopia #4e576c ≈ 1.01% of males
Deuteranopia #444f6b ≈ 1.27% of males
Tritanopia #005f5f ≈ 0.0001% of males
Protanomaly #40586c ≈ 1.08% of males
Deuteranomaly #38536b ≈ 4.63% of males
Tritanomaly #005c64 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f596b {
  color: #1f596b;
}
Background
.bg-1f596b {
  background-color: #1f596b;
  color: #ffffff;
}
Border
.border-1f596b {
  border: 2px solid #1f596b;
}
CSS variables
:root {
  --color-primary: #1f596b;
  --color-primary-rgb: 31 89 107;
  --color-primary-hsl: 194 55% 27%;
}
Gradient
.gradient-1f596b {
  background: linear-gradient(135deg, #1f596b, #1f336b);
}
Colored shadow
.shadow-1f596b {
  box-shadow: 0 8px 24px rgb(31 89 107 / 0.35);
}

Midnight Green
#1f596b  rgb(31, 89, 107)  hsl(194, 55%, 27%)  Midnight Green
#6b311f  rgb(107, 49, 31)  hsl(14, 55%, 27%)  Caput Mortuum
#6b1f59  rgb(107, 31, 89)  hsl(314, 55%, 27%)  Byzantium
#596b1f  rgb(89, 107, 31)  hsl(74, 55%, 27%)  Dark Olive Green