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