#1F424B

#1f424b ≈ Midnight Green

  • cyan
  • Lightness: low
  • Saturation: muted
  • Cool

#1f424b is a color from the cyan family, with low lightness and muted saturation. In the RGB model it is made of 12.16% red, 25.88% green and 29.41% blue; printed in CMYK it uses 58.67% cyan, 12% magenta, 0% yellow and 70.59% black. Its hue angle is 192.27°, with 41.51% saturation and 20.78% 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 10.83:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 4.93.

Description generated from the measured properties of this color.

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

Readable text 10.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #333f43 ≈ 0.001% of males
Protanopia #3c404c ≈ 1.01% of males
Deuteranopia #353b4b ≈ 1.27% of males
Tritanopia #014545 ≈ 0.0001% of males
Protanomaly #32414b ≈ 1.08% of males
Deuteranomaly #2e3e4b ≈ 4.63% of males
Tritanomaly #114447 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f424b {
  color: #1f424b;
}
Background
.bg-1f424b {
  background-color: #1f424b;
  color: #ffffff;
}
Border
.border-1f424b {
  border: 2px solid #1f424b;
}
CSS variables
:root {
  --color-primary: #1f424b;
  --color-primary-rgb: 31 66 75;
  --color-primary-hsl: 192 42% 21%;
}
Gradient
.gradient-1f424b {
  background: linear-gradient(135deg, #1f424b, #1f2c4b);
}
Colored shadow
.shadow-1f424b {
  box-shadow: 0 8px 24px rgb(31 66 75 / 0.35);
}

Midnight Green
#1f424b  rgb(31, 66, 75)  hsl(192, 42%, 21%)  Midnight Green
#4b281f  rgb(75, 40, 31)  hsl(12, 42%, 21%)  Caput Mortuum
#4b1f42  rgb(75, 31, 66)  hsl(312, 42%, 21%)  Tyrian Purple
#424b1f  rgb(66, 75, 31)  hsl(72, 42%, 21%)  Army Green