Toolman

#2D5986 color

#2D5986#2D5986

#2D5986 is a dark, moderately saturated blue, closest to the CSS named color darkslategray (#2F4F4F).

Color values

HEX#2D5986
RGBrgb(45, 89, 134)
HSLhsl(210, 50%, 35%)
CMYKcmyk(66%, 34%, 0%, 47%)
Decimal2972038
CSScolor: #2D5986;
Android0xFF2D5986
SwiftUIColor(red: 0.176, green: 0.349, blue: 0.525, alpha: 1)

Accessibility and contrast

White text on #2D59867.28:1 — AA pass · AA large pass · AAA pass
Black text on #2D59862.88: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 #2D5986

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

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 #2D5986 in code

/* CSS */
.element { color: #2D5986; background-color: #2D5986; }
.element { color: rgb(45 89 134); }
.element { color: hsl(210 50% 35%); }

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

/* SCSS variable */
$brand: #2D5986;

Frequently asked questions

What color is #2D5986?

#2D5986 is a dark, moderately saturated blue. Its hue sits at 210° on the color wheel, with 50% saturation and 35% lightness.

What is #2D5986 in RGB?

#2D5986 converts to rgb(45, 89, 134) — 45 red, 89 green and 134 blue.

What is #2D5986 in CMYK?

Approximately cmyk(66%, 34%, 0%, 47%). 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 #2D5986 be white or black?

White gives the better contrast ratio (7.28:1 versus 2.88:1).

What is the complementary color of #2D5986?

#86592D — the hue directly opposite #2D5986 on the color wheel.

Convert any color → · Browse all colors