Toolman

#042F2E color

#042F2E#042F2E

The swatch above shows #042F2E 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.

#042F2E is a very dark, vivid cyan, closest to the CSS named color midnightblue (#191970).

It is also a Tailwind CSS default: teal-950. That means you can write bg-teal-950 or text-teal-950 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#042F2E
RGBrgb(4, 47, 46)
HSLhsl(179, 84%, 10%)
CMYKcmyk(91%, 0%, 2%, 82%)
Decimal274222
CSScolor: #042F2E;
Android0xFF042F2E
SwiftUIColor(red: 0.016, green: 0.184, blue: 0.180, alpha: 1)

Accessibility and contrast

White text on #042F2E14.47:1 — AA pass · AA large pass · AAA pass
Black text on #042F2E1.45: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 #042F2E

Each swatch keeps the hue and saturation of #042F2E 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 #042F2E

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 #042F2E in code

/* CSS */
.element { color: #042F2E; background-color: #042F2E; }
.element { color: rgb(4 47 46); }
.element { color: hsl(179 84% 10%); }

/* Tailwind */
<div class="bg-teal-950 text-white">

/* SCSS variable */
$brand: #042F2E;

Frequently asked questions

What color is #042F2E?

#042F2E is a very dark, vivid cyan. Its hue sits at 179° on the color wheel, with 84% saturation and 10% lightness.

What is #042F2E in RGB?

#042F2E converts to rgb(4, 47, 46) — 4 red, 47 green and 46 blue.

What is #042F2E in CMYK?

Approximately cmyk(91%, 0%, 2%, 82%). 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 #042F2E be white or black?

White gives the better contrast ratio (14.47:1 versus 1.45:1).

What is the complementary color of #042F2E?

#2F0405 — the hue directly opposite #042F2E on the color wheel.

Convert any color → · Browse all colors