#173F6C

Closest named color: Twilight Blue (#0A437A). oklch(36.5% 0.09 253.7), rgb(23, 63, 108).

Aa

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

About this color

#173F6C is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.090 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 10.69:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.96:1
White text10.69:1

Values

HEX#173F6C
RGBrgb(23, 63, 108)
HSLhsl(212, 65%, 26%)
OKLCHoklch(36.5% 0.09 253.7)

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 #173F6C 10.69:1 AAA Lc -98.5 Preferred for body text
Black text on #173F6C 1.96:1 Fails Lc 9.4 Not readable
#173F6C text on white 10.69:1 AAA Lc 94.5 Preferred for body text
#173F6C text on black 1.96:1 Fails Lc -8.1 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF2

    oklch(88.5% 0.037 254.6)

  4. Step 300

    300

    #A3C4EC

    oklch(81% 0.067 253.5)

  5. Step 400

    400

    #70A4E2

    oklch(70.7% 0.107 253.5)

  6. Step 500

    500

    #488CDA

    oklch(63.2% 0.137 253.5)

  7. Step 600

    600

    #2774C8

    oklch(55.6% 0.15 253.8)

  8. Step 700

    700

    #1861AD

    oklch(49.2% 0.139 253.6)

  9. Step 800

    800

    #184F8C

    oklch(42.6% 0.116 254.1)

  10. Step 900

    900 (this color)

    #173F6C

    oklch(36.5% 0.09 253.7)

  11. Step 950

    950

    #112741

    oklch(26.9% 0.056 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#173F6C 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)#2A426E0.023
Deuteranopia (no green cones)#1C3A6B0.015
Tritanopia (no blue cones)#004A500.069
Achromatopsia (no color)#3E3E3E0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #173F6C

    #173F6C

    oklch(36.5% 0.09 253.7)

  • #563700

    #563700

    oklch(36.5% 0.077 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173F6C

    #173F6C

    oklch(36.5% 0.09 253.7)

  • #004659

    #004659

    oklch(36.6% 0.068 223.5)

  • #39366B

    #39366B

    oklch(36.4% 0.089 283.6)

Open the analogous palette in the generator

Split complementary

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

  • #173F6C

    #173F6C

    oklch(36.5% 0.09 253.7)

  • #642C11

    #642C11

    oklch(36.6% 0.09 44)

  • #454000

    #454000

    oklch(36.5% 0.077 104.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173F6C

    #173F6C

    oklch(36.5% 0.09 253.7)

  • #652730

    #652730

    oklch(36.5% 0.09 13.8)

  • #2A4810

    #2A4810

    oklch(36.5% 0.09 133.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173F6C

    #173F6C

    oklch(36.5% 0.09 253.7)

  • #5E284A

    #5E284A

    oklch(36.5% 0.091 343.9)

  • #563700

    #563700

    oklch(36.5% 0.077 74.1)

  • #004B33

    #004B33

    oklch(36.5% 0.078 163.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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