Home /Colors /#172C87
#172C87#172C87

#172C87 color code is #172C87. Use this page to get all code formats, explore shades and tints, and find colors that work with #172c87.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #172C87

#172C87 Accessibility & WCAG Contrast

Relative luminance of #172C87 is 0.0373. Its WCAG contrast ratio is 12.02:1 against white and 1.75:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#172C87 on white12.02:1AAA
The quick brown fox
#172C87 on black1.75:1Fail
The quick brown fox
White on #172C8712.02:1AAA
The quick brown fox
Black on #172C871.75:1Fail

#172C87 — Frequently Asked Questions

What is the hex code for #172C87?+
The hex code for #172C87 is #172C87. In RGB it's rgb(23, 44, 135), and in HSL it's hsl(229, 71%, 31%).
What is the RGB value of #172C87?+
#172C87 in RGB is (23, 44, 135). Written in CSS: rgb(23, 44, 135).
What is the CMYK value of #172C87?+
#172C87 converts to CMYK(83%, 67%, 0%, 47%) for print. Hex equivalent is #172C87.
Is #172c87 a warm or cool color?+
#172C87 (#172C87) is a cool blue — its hue sits at 229° on the color wheel, placing it in the cool part of the spectrum.
What color family does #172c87 belong to?+
#172C87 belongs to the blue family. Its HSL is 229°, 71%, 31% — a cool tone within the broader blue group.
Is #172c87 accessible for body text on a white background?+
#172C87 on white reaches a WCAG contrast ratio of 12.02:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #172c87?+
The nearest Pantone match for #172C87 (#172C87) is 661 C Pantone 661 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #172C87 in design

Practical guidance for using #172c87 (#172C87) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #172C87 (#172C87) as primary text or icon color on white backgrounds — at 12.0:1 contrast it passes WCAG AAA for body copy. Avoid placing #172c87 text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #172C87 (#172C87) reads as high-energy and confident and versatile across product tiers. It fits naturally into tech, finance, healthcare, productivity tools (the safe brand-color default). Use it as the primary identity color and pair with one neutral (white, off-white, or near-black). Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#172C87 flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#172C87 works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.

Brands that use #172C87

Major brands whose official palette contains a color within ~30 RGB units of #172c87 (#172C87). Click through for the full brand color guide.

PayPal#003087 · PayPal Dark BlueSamsung#1428A0 · Samsung BlueVisa#1A1F71 · Visa Blue