#1A4D40 color
#1A4D40 is a dark, moderately saturated cyan, closest to the CSS named color darkslategray (#2F4F4F).
Color values
| HEX | #1A4D40 |
| RGB | rgb(26, 77, 64) |
| HSL | hsl(165, 50%, 20%) |
| CMYK | cmyk(66%, 0%, 17%, 70%) |
| Decimal | 1723712 |
| CSS | color: #1A4D40; |
| Android | 0xFF1A4D40 |
| Swift | UIColor(red: 0.102, green: 0.302, blue: 0.251, alpha: 1) |
Accessibility and contrast
| White text on #1A4D40 | 9.64:1 — AA pass · AA large pass · AAA pass |
| Black text on #1A4D40 | 2.18:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #1A4D40
Each swatch keeps the hue and saturation of #1A4D40 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #1A4D40
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #1A4D40 in code
/* CSS */
.element { color: #1A4D40; background-color: #1A4D40; }
.element { color: rgb(26 77 64); }
.element { color: hsl(165 50% 20%); }
/* Tailwind arbitrary value */
<div class="bg-[#1A4D40] text-white">
/* SCSS variable */
$brand: #1A4D40;
Frequently asked questions
What color is #1A4D40?
#1A4D40 is a dark, moderately saturated cyan. Its hue sits at 165° on the color wheel, with 50% saturation and 20% lightness.
What is #1A4D40 in RGB?
#1A4D40 converts to rgb(26, 77, 64) — 26 red, 77 green and 64 blue.
What is #1A4D40 in CMYK?
Approximately cmyk(66%, 0%, 17%, 70%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #1A4D40 be white or black?
White gives the better contrast ratio (9.64:1 versus 2.18:1).
What is the complementary color of #1A4D40?
#4D1A26 — the hue directly opposite #1A4D40 on the color wheel.