#173387

Closest named color: Twilight Blue (#0A437A). oklch(35.9% 0.145 265.4), rgb(23, 51, 135).

Aa

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

About this color

#173387 is a dark, vivid blue. In OKLCH its lightness is 36%, its chroma 0.145 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.050 away. White text reads best on it, at 11.29:1.

Hue familyBlues
Lightnessdark (36%)
Chromavivid (0.145)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.85:1
White text11.29:1

Values

HEX#173387
RGBrgb(23, 51, 135)
HSLhsl(225, 71%, 31%)
OKLCHoklch(35.9% 0.145 265.4)

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 #173387 11.29:1 AAA Lc -99.3 Preferred for body text
Black text on #173387 1.85:1 Fails Lc 8.4 Not readable
#173387 text on white 11.29:1 AAA Lc 95.5 Preferred for body text
#173387 text on black 1.85: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #729CFF

    oklch(70.6% 0.153 265.4)

  6. Step 500

    500

    #4E7FFF

    oklch(63% 0.198 265.3)

  7. Step 600

    600

    #2D5FFD

    oklch(55.6% 0.24 265.3)

  8. Step 700

    700

    #214CDD

    oklch(49% 0.225 265.3)

  9. Step 800

    800

    #1C40B2

    oklch(42.7% 0.185 265.3)

  10. Step 900

    900 (this color)

    #173387

    oklch(35.9% 0.145 265.4)

  11. Step 950

    950

    #102252

    oklch(27% 0.091 265.2)

Export this scale for Tailwind in the Tailwind colors tool

#173387 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)#00408A0.034
Deuteranopia (no green cones)#0035850.014
Tritanopia (no blue cones)#0049580.112
Achromatopsia (no color)#3A3A3A0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #173387

    #173387

    oklch(35.9% 0.145 265.4)

  • #4E3900

    #4E3900

    oklch(35.8% 0.073 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173387

    #173387

    oklch(35.9% 0.145 265.4)

  • #00425F

    #00425F

    oklch(35.8% 0.077 235.6)

  • #46237E

    #46237E

    oklch(35.9% 0.145 295.8)

Open the analogous palette in the generator

Split complementary

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

  • #173387

    #173387

    oklch(35.9% 0.145 265.4)

  • #5F2E00

    #5F2E00

    oklch(36% 0.088 55.6)

  • #3C4100

    #3C4100

    oklch(35.8% 0.081 114.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173387

    #173387

    oklch(35.9% 0.145 265.4)

  • #77010E

    #77010E

    oklch(35.9% 0.145 25.3)

  • #004B10

    #004B10

    oklch(35.9% 0.112 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173387

    #173387

    oklch(35.9% 0.145 265.4)

  • #710340

    #710340

    oklch(36% 0.145 355.6)

  • #4E3900

    #4E3900

    oklch(35.8% 0.073 85.4)

  • #00483B

    #00483B

    oklch(35.9% 0.067 175.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #173387 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.