#262626 color
The swatch above shows #262626 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#262626 is a very dark, desaturated grey, closest to the CSS named color midnightblue (#191970).
It is also a Tailwind CSS default: neutral-800. That means you can write bg-neutral-800 or text-neutral-800 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #262626 |
| RGB | rgb(38, 38, 38) |
| HSL | hsl(0, 0%, 15%) |
| CMYK | cmyk(0%, 0%, 0%, 85%) |
| Decimal | 2500134 |
| CSS | color: #262626; |
| Android | 0xFF262626 |
| Swift | UIColor(red: 0.149, green: 0.149, blue: 0.149, alpha: 1) |
Accessibility and contrast
| White text on #262626 | 15.13:1 — AA pass · AA large pass · AAA pass |
| Black text on #262626 | 1.39: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 #262626
Each swatch keeps the hue and saturation of #262626 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #262626
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #262626 in code
/* CSS */
.element { color: #262626; background-color: #262626; }
.element { color: rgb(38 38 38); }
.element { color: hsl(0 0% 15%); }
/* Tailwind */
<div class="bg-neutral-800 text-white">
/* SCSS variable */
$brand: #262626;
Frequently asked questions
What color is #262626?
#262626 is a very dark, desaturated grey. Its hue sits at 0° on the color wheel, with 0% saturation and 15% lightness.
What is #262626 in RGB?
#262626 converts to rgb(38, 38, 38) — 38 red, 38 green and 38 blue.
What is #262626 in CMYK?
Approximately cmyk(0%, 0%, 0%, 85%). 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 #262626 be white or black?
White gives the better contrast ratio (15.13:1 versus 1.39:1).
What is the complementary color of #262626?
#262626 — the hue directly opposite #262626 on the color wheel.