#17173A

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.066 279.8), rgb(23, 23, 58).

Aa

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

About this color

#17173A is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.066 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.040 away. White text reads best on it, at 17.21:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.066)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.21:1

Values

HEX#17173A
RGBrgb(23, 23, 58)
HSLhsl(240, 43%, 16%)
OKLCHoklch(22.7% 0.066 279.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 #17173A 17.21:1 AAA Lc -106.3 Preferred for body text
Black text on #17173A 1.22:1 Fails Lc 0.0 Not readable
#17173A text on white 17.21:1 AAA Lc 104.0 Preferred for body text
#17173A text on black 1.22: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D3D7F6

    oklch(88.6% 0.043 279.7)

  4. Step 300

    300

    #B6BCF3

    oklch(81% 0.078 279.7)

  5. Step 400

    400

    #9197ED

    oklch(70.7% 0.125 279.6)

  6. Step 500

    500

    #787BE7

    oklch(63.1% 0.159 279.6)

  7. Step 600

    600

    #6361D5

    oklch(55.6% 0.173 279.9)

  8. Step 700

    700

    #524FB9

    oklch(49% 0.162 279.8)

  9. Step 800

    800

    #434295

    oklch(42.7% 0.133 279.7)

  10. Step 900

    900

    #383977

    oklch(37.8% 0.103 279.5)

  11. Step 950

    950 (this color)

    #17173A

    oklch(22.7% 0.066 279.8)

Export this scale for Tailwind in the Tailwind colors tool

#17173A 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)#051C3B0.027
Deuteranopia (no green cones)#031A390.028
Tritanopia (no blue cones)#081F250.058
Achromatopsia (no color)#1B1B1B0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #17173A

    #17173A

    oklch(22.7% 0.066 279.8)

  • #221C00

    #221C00

    oklch(22.7% 0.047 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #17173A

    #17173A

    oklch(22.7% 0.066 279.8)

  • #001D39

    #001D39

    oklch(22.7% 0.065 250.2)

  • #261233

    #261233

    oklch(22.9% 0.065 310.2)

Open the analogous palette in the generator

Split complementary

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

  • #17173A

    #17173A

    oklch(22.7% 0.066 279.8)

  • #2B1700

    #2B1700

    oklch(22.7% 0.05 68.4)

  • #132100

    #132100

    oklch(22.6% 0.06 129)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #17173A

    #17173A

    oklch(22.7% 0.066 279.8)

  • #350E02

    #350E02

    oklch(22.8% 0.067 39.5)

  • #002313

    #002313

    oklch(22.6% 0.052 159.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #17173A

    #17173A

    oklch(22.7% 0.066 279.8)

  • #340B15

    #340B15

    oklch(22.6% 0.066 9.5)

  • #221C00

    #221C00

    oklch(22.7% 0.047 98)

  • #002220

    #002220

    oklch(22.7% 0.039 189.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #17173A 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.