#172E5A color

#172E5A rgb(23, 46, 90)
Shades of blue

The hex color #172E5A is a dark, moderate azure.

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

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

The closest named color is Mythical Night (#1C2E63), a difference of 2.1 ΔE, a small difference.

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

#172E5A color codes

HEX#172E5A
RGBrgb(23, 46, 90)
RGB percentrgb(9%, 18%, 35.3%)
HSLhsl(219, 59%, 22%)
HSV / HSBhsv(219, 74%, 35%)
CMYKcmyk(74%, 49%, 0%, 65%)
CIE LABlab(19.53, 7.88, -29.15)
CIE LCHlch(19.53, 30.19, 285.12)
CIE XYZxyz(3.175, 2.874, 10.058)
Decimal1519194
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #172E5A, 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 #172E5ARatioAAAAAAA large
Sample text1.57:1FailFailFail
Sample text13.33:1PassPassPass
#172E5A as text onRatioAAAAAAA large
Sample text13.33:1PassPassPass
Sample text1.57: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 #172E5A looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Oxford Blue.

Questions

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