#1D5742

A dark, moderate green closely aligning with Darkslategray.

About #1D5742

The precise color #1D5742 is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkslategray. To achieve this exact tint on a monitor, you would use an RGB mix of 29, 87, and 66.

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 67% Cyan, 0% Magenta, 24% Yellow, and 66% Black. With a hue angle of 158.3 degrees, it sits comfortably in the green spectrum.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#1D5742
RGB29, 87, 66
HSL158.3°, 50.0%, 22.7%
CMYK67%, 0%, 24%, 66%
HSV158.3°, 66.7%, 34.1%
LAB32.9, -24.5, 6.7
XYZ4.9, 7.5, 6.3
Decimal1922882

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.42:1
Text on #FFFFFF
AAA
2.49:1
Text on #000000
FAIL
8.05:1
Text on #F8FAFC
AAA
2.12:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #1D5742; }
.text-color { color: #1D5742; }
.border-color { border: 2px solid #1D5742; }

Similar Colors

Darkslategray
#2F4F4F