#173771

Closest named color: Marine Blue (#01386A). oklch(34.9% 0.107 261.1), rgb(23, 55, 113).

Aa

White text reads best on this color (11.52:1).

About this color

#173771 is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.107 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.019 away. White text reads best on it, at 11.52:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.82:1
White text11.52:1

Values

HEX#173771
RGBrgb(23, 55, 113)
HSLhsl(219, 66%, 27%)
OKLCHoklch(34.9% 0.107 261.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #173771 11.52:1 AAA Lc -99.9 Preferred for body text
Black text on #173771 1.82:1 Fails Lc 7.7 Not readable
#173771 text on white 11.52:1 AAA Lc 96.2 Preferred for body text
#173771 text on black 1.82:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A4C2F5

    oklch(81% 0.08 260.9)

  5. Step 400

    400

    #72A0F1

    oklch(70.7% 0.129 261.1)

  6. Step 500

    500

    #4D86EC

    oklch(63.2% 0.165 261.1)

  7. Step 600

    600

    #316DDA

    oklch(55.7% 0.179 261.1)

  8. Step 700

    700

    #245ABD

    oklch(49.1% 0.166 261.3)

  9. Step 800

    800

    #1F4A99

    oklch(42.7% 0.138 261.3)

  10. Step 900

    900 (this color)

    #173771

    oklch(34.9% 0.107 261.1)

  11. Step 950

    950

    #122547

    oklch(26.9% 0.068 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#173771 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#153D730.017
Deuteranopia (no green cones)#0035700.017
Tritanopia (no blue cones)#00454E0.085
Achromatopsia (no color)#3939390.107

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #173771

    #173771

    oklch(34.9% 0.107 261.1)

  • #4D3500

    #4D3500

    oklch(34.8% 0.072 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173771

    #173771

    oklch(34.9% 0.107 261.1)

  • #004058

    #004058

    oklch(34.9% 0.07 231.2)

  • #3C2C6D

    #3C2C6D

    oklch(34.8% 0.108 291.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #173771

    #173771

    oklch(34.9% 0.107 261.1)

  • #5E2900

    #5E2900

    oklch(34.9% 0.091 50.9)

  • #3C3D00

    #3C3D00

    oklch(34.7% 0.076 110.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173771

    #173771

    oklch(34.9% 0.107 261.1)

  • #671B20

    #671B20

    oklch(34.9% 0.108 21.2)

  • #104707

    #104707

    oklch(34.9% 0.108 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173771

    #173771

    oklch(34.9% 0.107 261.1)

  • #611C41

    #611C41

    oklch(34.9% 0.108 351)

  • #4D3500

    #4D3500

    oklch(34.8% 0.072 80.6)

  • #004535

    #004535

    oklch(34.8% 0.068 170.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #173771, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #173771 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.