#173186

Closest named color: Twilight Blue (#0A437A). oklch(35.4% 0.146 265.9), rgb(23, 49, 134).

Aa

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

About this color

#173186 is a dark, vivid blue. In OKLCH its lightness is 35%, its chroma 0.146 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.054 away. White text reads best on it, at 11.53:1.

Hue familyBlues
Lightnessdark (35%)
Chromavivid (0.146)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.82:1
White text11.53:1

Values

HEX#173186
RGBrgb(23, 49, 134)
HSLhsl(226, 71%, 31%)
OKLCHoklch(35.4% 0.146 265.9)

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 #173186 11.53:1 AAA Lc -99.7 Preferred for body text
Black text on #173186 1.82:1 Fails Lc 8.0 Not readable
#173186 text on white 11.53:1 AAA Lc 95.9 Preferred for body text
#173186 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

    #F1F5FF

    oklch(97% 0.014 268.5)

  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

    #A4C0FF

    oklch(81% 0.095 265.8)

  5. Step 400

    400

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #507FFF

    oklch(63.1% 0.197 265.8)

  7. Step 600

    600

    #2F5EFE

    oklch(55.6% 0.242 265.8)

  8. Step 700

    700

    #244BDE

    oklch(49.1% 0.227 266)

  9. Step 800

    800

    #1E3FB3

    oklch(42.6% 0.187 265.9)

  10. Step 900

    900 (this color)

    #173186

    oklch(35.4% 0.146 265.9)

  11. Step 950

    950

    #112253

    oklch(27.1% 0.092 265.9)

Export this scale for Tailwind in the Tailwind colors tool

#173186 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)#003E890.033
Deuteranopia (no green cones)#0034840.015
Tritanopia (no blue cones)#0047560.113
Achromatopsia (no color)#3939390.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #173186

    #173186

    oklch(35.4% 0.146 265.9)

  • #4C3800

    #4C3800

    oklch(35.3% 0.072 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173186

    #173186

    oklch(35.4% 0.146 265.9)

  • #00415E

    #00415E

    oklch(35.5% 0.076 236)

  • #45217D

    #45217D

    oklch(35.4% 0.146 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #173186

    #173186

    oklch(35.4% 0.146 265.9)

  • #5D2D00

    #5D2D00

    oklch(35.5% 0.087 55.7)

  • #3A4000

    #3A4000

    oklch(35.4% 0.081 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173186

    #173186

    oklch(35.4% 0.146 265.9)

  • #75000B

    #75000B

    oklch(35.4% 0.144 25.9)

  • #004912

    #004912

    oklch(35.3% 0.108 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173186

    #173186

    oklch(35.4% 0.146 265.9)

  • #6F003E

    #6F003E

    oklch(35.3% 0.145 355.8)

  • #4C3800

    #4C3800

    oklch(35.3% 0.072 86.2)

  • #00473A

    #00473A

    oklch(35.5% 0.067 175.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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