#173E9F

Closest named color: Sapphire (#2138AB). oklch(40.3% 0.164 263.8), rgb(23, 62, 159).

Aa

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

About this color

#173E9F is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.164 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.024 away. White text reads best on it, at 9.43:1.

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.164)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.22:1
White text9.43:1

Values

HEX#173E9F
RGBrgb(23, 62, 159)
HSLhsl(223, 75%, 36%)
OKLCHoklch(40.3% 0.164 263.8)

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 #173E9F 9.43:1 AAA Lc -95.5 Preferred for body text
Black text on #173E9F 2.22:1 Fails Lc 12.8 Not readable
#173E9F text on white 9.43:1 AAA Lc 91.1 Preferred for body text
#173E9F text on black 2.22:1 Fails Lc -11.2 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 800.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C7DAFD

    oklch(88.5% 0.053 262.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4A81FE

    oklch(63.2% 0.195 263.8)

  7. Step 600

    600

    #2E66ED

    oklch(55.6% 0.212 263.8)

  8. Step 700

    700

    #2253CE

    oklch(49% 0.198 263.9)

  9. Step 800

    800 (this color)

    #173E9F

    oklch(40.3% 0.164 263.8)

  10. Step 900

    900

    #1D3C84

    oklch(37.8% 0.127 263.8)

  11. Step 950

    950

    #11244D

    oklch(27.1% 0.08 263.3)

Export this scale for Tailwind in the Tailwind colors tool

#173E9F 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)#004DA20.038
Deuteranopia (no green cones)#00409D0.012
Tritanopia (no blue cones)#0057680.126
Achromatopsia (no color)#4646460.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #173E9F

    #173E9F

    oklch(40.3% 0.164 263.8)

  • #5E4400

    #5E4400

    oklch(40.4% 0.083 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173E9F

    #173E9F

    oklch(40.3% 0.164 263.8)

  • #004F6F

    #004F6F

    oklch(40.3% 0.085 234.2)

  • #512C96

    #512C96

    oklch(40.4% 0.163 293.8)

Open the analogous palette in the generator

Split complementary

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

  • #173E9F

    #173E9F

    oklch(40.3% 0.164 263.8)

  • #713600

    #713600

    oklch(40.3% 0.101 53.8)

  • #494D00

    #494D00

    oklch(40.3% 0.09 113.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173E9F

    #173E9F

    oklch(40.3% 0.164 263.8)

  • #8C0017

    #8C0017

    oklch(40.4% 0.163 23.7)

  • #00590C

    #00590C

    oklch(40.3% 0.131 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173E9F

    #173E9F

    oklch(40.3% 0.164 263.8)

  • #84044F

    #84044F

    oklch(40.3% 0.163 353.7)

  • #5E4400

    #5E4400

    oklch(40.4% 0.083 83.7)

  • #005645

    #005645

    oklch(40.4% 0.077 173.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #173E9F.

Similar named colors

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

Use #173E9F 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.