Toolman

#40262D color

#40262D#40262D

#40262D is a dark, muted red, closest to the CSS named color midnightblue (#191970).

Color values

HEX#40262D
RGBrgb(64, 38, 45)
HSLhsl(344, 25%, 20%)
CMYKcmyk(0%, 41%, 30%, 75%)
Decimal4204077
CSScolor: #40262D;
Android0xFF40262D
SwiftUIColor(red: 0.251, green: 0.149, blue: 0.176, alpha: 1)

Accessibility and contrast

White text on #40262D13.70:1 — AA pass · AA large pass · AAA pass
Black text on #40262D1.53:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

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 #40262D

Each swatch keeps the hue and saturation of #40262D and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #40262D

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #40262D in code

/* CSS */
.element { color: #40262D; background-color: #40262D; }
.element { color: rgb(64 38 45); }
.element { color: hsl(344 25% 20%); }

/* Tailwind arbitrary value */
<div class="bg-[#40262D] text-white">

/* SCSS variable */
$brand: #40262D;

Frequently asked questions

What color is #40262D?

#40262D is a dark, muted red. Its hue sits at 344° on the color wheel, with 25% saturation and 20% lightness.

What is #40262D in RGB?

#40262D converts to rgb(64, 38, 45) — 64 red, 38 green and 45 blue.

What is #40262D in CMYK?

Approximately cmyk(0%, 41%, 30%, 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 #40262D be white or black?

White gives the better contrast ratio (13.70:1 versus 1.53:1).

What is the complementary color of #40262D?

#264039 — the hue directly opposite #40262D on the color wheel.

Convert any color → · Browse all colors