#172C5A color

#172C5A rgb(23, 44, 90)
Shades of blue

The hex color #172C5A is a dark, moderate blue.

In the RGB color model it is made of 9% red, 17.3% green and 35.3% blue (23, 44, 90).

Its hue angle is 221°, with 59% saturation and 22% lightness. For print, the CMYK equivalent is 74% cyan, 51% magenta, 0% yellow and 65% black.

The closest named color is Mythical Night (#1C2E63), a difference of 1.8 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 13.6:1).

#172C5A color codes

HEX#172C5A
RGBrgb(23, 44, 90)
RGB percentrgb(9%, 17.3%, 35.3%)
HSLhsl(221, 59%, 22%)
HSV / HSBhsv(221, 74%, 35%)
CMYKcmyk(74%, 51%, 0%, 65%)
CIE LABlab(18.89, 9.34, -30.18)
CIE LCHlch(18.89, 31.59, 287.19)
CIE XYZxyz(3.099, 2.721, 10.033)
Decimal1518682
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #172C5A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #172C5ARatioAAAAAAA large
Sample text1.54:1FailFailFail
Sample text13.6:1PassPassPass
#172C5A as text onRatioAAAAAAA large
Sample text13.6:1PassPassPass
Sample text1.54:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #172C5A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #172c5a; }
.text { color: #172c5a; }
.border { border: 2px solid #172c5a; }
.transparent { background-color: rgb(23 44 90 / 50%); }
.gradient { background: linear-gradient(to right, #172c5a, #24175a); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #172C5A?
#172C5A is a dark, moderate blue, closest to the named color Mythical Night. It belongs to the blue family of colors.
What is the RGB value of #172C5A?
The RGB value is 23, 44, 90: 23 red, 44 green and 90 blue on a 0 to 255 scale.
What is the complementary color of #172C5A?
The complementary color is #5A4517, found by rotating the hue 180° on the color wheel.
Is black or white text better on #172C5A?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.6:1. WCAG asks for at least 4.5:1 for normal text.