#264040 color
#264040 is a dark, muted cyan, closest to the CSS named color darkslategray (#2F4F4F).
Color values
| HEX | #264040 |
| RGB | rgb(38, 64, 64) |
| HSL | hsl(180, 25%, 20%) |
| CMYK | cmyk(41%, 0%, 0%, 75%) |
| Decimal | 2506816 |
| CSS | color: #264040; |
| Android | 0xFF264040 |
| Swift | UIColor(red: 0.149, green: 0.251, blue: 0.251, alpha: 1) |
Accessibility and contrast
| White text on #264040 | 11.11:1 — AA pass · AA large pass · AAA pass |
| Black text on #264040 | 1.89: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 #264040
Each swatch keeps the hue and saturation of #264040 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #264040
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #264040 in code
/* CSS */
.element { color: #264040; background-color: #264040; }
.element { color: rgb(38 64 64); }
.element { color: hsl(180 25% 20%); }
/* Tailwind arbitrary value */
<div class="bg-[#264040] text-white">
/* SCSS variable */
$brand: #264040;
Frequently asked questions
What color is #264040?
#264040 is a dark, muted cyan. Its hue sits at 180° on the color wheel, with 25% saturation and 20% lightness.
What is #264040 in RGB?
#264040 converts to rgb(38, 64, 64) — 38 red, 64 green and 64 blue.
What is #264040 in CMYK?
Approximately cmyk(41%, 0%, 0%, 75%). 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 #264040 be white or black?
White gives the better contrast ratio (11.11:1 versus 1.89:1).
What is the complementary color of #264040?
#402626 — the hue directly opposite #264040 on the color wheel.