#173B7F

Closest named color: Twilight Blue (#0A437A). oklch(36.9% 0.123 261.6), rgb(23, 59, 127).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.96:1
White text10.66:1

Values

HEX#173B7F
RGBrgb(23, 59, 127)
HSLhsl(219, 69%, 29%)
OKLCHoklch(36.9% 0.123 261.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 #173B7F 10.66:1 AAA Lc -98.3 Preferred for body text
Black text on #173B7F 1.96:1 Fails Lc 9.6 Not readable
#173B7F text on white 10.66:1 AAA Lc 94.3 Preferred for body text
#173B7F text on black 1.96:1 Fails Lc -8.3 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFC

    oklch(93.5% 0.027 262.3)

  3. Step 200

    200

    #C7DAFC

    oklch(88.5% 0.051 262.1)

  4. Step 300

    300

    #A0C1FD

    oklch(80.9% 0.093 262.1)

  5. Step 400

    400

    #6C9FFC

    oklch(70.8% 0.147 261.6)

  6. Step 500

    500

    #4483F9

    oklch(63% 0.188 261.6)

  7. Step 600

    600

    #2669E8

    oklch(55.6% 0.204 261.6)

  8. Step 700

    700

    #1956CA

    oklch(49% 0.191 261.7)

  9. Step 800

    800

    #1748A3

    oklch(42.8% 0.157 261.4)

  10. Step 900

    900 (this color)

    #173B7F

    oklch(36.9% 0.123 261.6)

  11. Step 950

    950

    #0F244C

    oklch(26.9% 0.079 261.8)

Export this scale for Tailwind in the Tailwind colors tool

#173B7F 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)#0D43810.022
Deuteranopia (no green cones)#003A7E0.014
Tritanopia (no blue cones)#004C570.096
Achromatopsia (no color)#3E3E3E0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #173B7F

    #173B7F

    oklch(36.9% 0.123 261.6)

  • #543B00

    #543B00

    oklch(37.1% 0.076 81.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173B7F

    #173B7F

    oklch(36.9% 0.123 261.6)

  • #004660

    #004660

    oklch(37% 0.075 231.4)

  • #432E7A

    #432E7A

    oklch(36.9% 0.124 292)

Open the analogous palette in the generator

Split complementary

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

  • #173B7F

    #173B7F

    oklch(36.9% 0.123 261.6)

  • #652D00

    #652D00

    oklch(36.8% 0.095 51.4)

  • #414300

    #414300

    oklch(36.9% 0.081 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173B7F

    #173B7F

    oklch(36.9% 0.123 261.6)

  • #731921

    #731921

    oklch(37% 0.123 21.2)

  • #084E00

    #084E00

    oklch(36.9% 0.123 141.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173B7F

    #173B7F

    oklch(36.9% 0.123 261.6)

  • #6C1B47

    #6C1B47

    oklch(37% 0.122 351.4)

  • #543B00

    #543B00

    oklch(37.1% 0.076 81.7)

  • #004B3B

    #004B3B

    oklch(36.8% 0.071 172.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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