#173286

Closest named color: Twilight Blue (#0A437A). oklch(35.6% 0.144 265.6), rgb(23, 50, 134).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromavivid (0.144)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.83:1
White text11.43:1

Values

HEX#173286
RGBrgb(23, 50, 134)
HSLhsl(225, 71%, 31%)
OKLCHoklch(35.6% 0.144 265.6)

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 #173286 11.43:1 AAA Lc -99.5 Preferred for body text
Black text on #173286 1.83:1 Fails Lc 8.2 Not readable
#173286 text on white 11.43:1 AAA Lc 95.7 Preferred for body text
#173286 text on black 1.83: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

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #4F7FFF

    oklch(63.1% 0.197 265.6)

  7. Step 600

    600

    #2E5FFD

    oklch(55.7% 0.24 265.5)

  8. Step 700

    700

    #234CDD

    oklch(49.1% 0.224 265.7)

  9. Step 800

    800

    #1D40B2

    oklch(42.7% 0.185 265.5)

  10. Step 900

    900 (this color)

    #173286

    oklch(35.6% 0.144 265.6)

  11. Step 950

    950

    #112252

    oklch(27% 0.091 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#173286 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)#003F890.034
Deuteranopia (no green cones)#0035840.015
Tritanopia (no blue cones)#0048570.112
Achromatopsia (no color)#3A3A3A0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #173286

    #173286

    oklch(35.6% 0.144 265.6)

  • #4D3800

    #4D3800

    oklch(35.5% 0.073 85)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173286

    #173286

    oklch(35.6% 0.144 265.6)

  • #00415E

    #00415E

    oklch(35.5% 0.076 236)

  • #45227D

    #45227D

    oklch(35.5% 0.145 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #173286

    #173286

    oklch(35.6% 0.144 265.6)

  • #5E2D00

    #5E2D00

    oklch(35.6% 0.088 55.1)

  • #3B4100

    #3B4100

    oklch(35.7% 0.081 115.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173286

    #173286

    oklch(35.6% 0.144 265.6)

  • #76000C

    #76000C

    oklch(35.6% 0.145 25.7)

  • #004A11

    #004A11

    oklch(35.6% 0.11 145.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173286

    #173286

    oklch(35.6% 0.144 265.6)

  • #70023F

    #70023F

    oklch(35.7% 0.144 355.7)

  • #4D3800

    #4D3800

    oklch(35.5% 0.073 85)

  • #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 #173286, closest first.

Similar named colors

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

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