#172036

Closest named color: Dark (#1B2431). oklch(24.7% 0.044 266.3), rgb(23, 32, 54).

Aa

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

About this color

#172036 is a very dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.044 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.020 away. White text reads best on it, at 16.19:1.

Hue familyBlues
Lightnessvery dark (25%)
Chromamuted (0.044)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.29:1
White text16.19:1

Values

HEX#172036
RGBrgb(23, 32, 54)
HSLhsl(223, 40%, 15%)
OKLCHoklch(24.7% 0.044 266.3)

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 #172036 16.19:1 AAA Lc -105.6 Preferred for body text
Black text on #172036 1.29:1 Fails Lc 0.0 Not readable
#172036 text on white 16.19:1 AAA Lc 103.1 Preferred for body text
#172036 text on black 1.29: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 950.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B1C0E3

    oklch(80.8% 0.052 266.9)

  5. Step 400

    400

    #88A0D5

    oklch(70.7% 0.083 265.5)

  6. Step 500

    500

    #6B87CA

    oklch(63% 0.107 266.1)

  7. Step 600

    600

    #5470B7

    oklch(55.6% 0.115 266.4)

  8. Step 700

    700

    #445D9E

    oklch(49% 0.109 266.6)

  9. Step 800

    800

    #384C80

    oklch(42.6% 0.09 266.7)

  10. Step 900

    900

    #304067

    oklch(37.7% 0.07 266.2)

  11. Step 950

    950 (this color)

    #172036

    oklch(24.7% 0.044 266.3)

Export this scale for Tailwind in the Tailwind colors tool

#172036 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)#1822370.007
Deuteranopia (no green cones)#141F360.006
Tritanopia (no blue cones)#0A25280.040
Achromatopsia (no color)#2020200.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #172036

    #172036

    oklch(24.7% 0.044 266.3)

  • #2A1F05

    #2A1F05

    oklch(24.6% 0.044 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172036

    #172036

    oklch(24.7% 0.044 266.3)

  • #082433

    #082433

    oklch(24.8% 0.044 235.9)

  • #231C33

    #231C33

    oklch(24.6% 0.044 297.1)

Open the analogous palette in the generator

Split complementary

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

  • #172036

    #172036

    oklch(24.7% 0.044 266.3)

  • #311B0A

    #311B0A

    oklch(24.8% 0.044 56.4)

  • #202308

    #202308

    oklch(24.6% 0.044 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172036

    #172036

    oklch(24.7% 0.044 266.3)

  • #331815

    #331815

    oklch(24.7% 0.044 27.4)

  • #122614

    #122614

    oklch(24.6% 0.043 146.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172036

    #172036

    oklch(24.7% 0.044 266.3)

  • #311721

    #311721

    oklch(24.5% 0.044 356.4)

  • #2A1F05

    #2A1F05

    oklch(24.6% 0.044 85.9)

  • #022820

    #022820

    oklch(24.8% 0.045 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 #172036, closest first.

Similar named colors

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

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