#173F7E

Closest named color: Twilight Blue (#0A437A). oklch(37.8% 0.116 259.4), rgb(23, 63, 126).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.04:1
White text10.25:1

Values

HEX#173F7E
RGBrgb(23, 63, 126)
HSLhsl(217, 69%, 29%)
OKLCHoklch(37.8% 0.116 259.4)

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 #173F7E 10.25:1 AAA Lc -97.5 Preferred for body text
Black text on #173F7E 2.04:1 Fails Lc 10.5 Not readable
#173F7E text on white 10.25:1 AAA Lc 93.4 Preferred for body text
#173F7E text on black 2.04:1 Fails Lc -9.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DAFA

    oklch(88.4% 0.049 260.9)

  4. Step 300

    300

    #9FC2F9

    oklch(80.8% 0.087 259.3)

  5. Step 400

    400

    #6AA0F6

    oklch(70.6% 0.139 259.4)

  6. Step 500

    500

    #4186F3

    oklch(63.1% 0.178 259.3)

  7. Step 600

    600

    #1F6CE2

    oklch(55.6% 0.194 259.5)

  8. Step 700

    700

    #115AC4

    oklch(49.2% 0.179 259.3)

  9. Step 800

    800

    #124A9E

    oklch(42.7% 0.148 259.2)

  10. Step 900

    900 (this color)

    #173F7E

    oklch(37.8% 0.116 259.4)

  11. Step 950

    950

    #0F254A

    oklch(27% 0.074 260.2)

Export this scale for Tailwind in the Tailwind colors tool

#173F7E 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)#1B46800.021
Deuteranopia (no green cones)#003C7D0.017
Tritanopia (no blue cones)#004E580.090
Achromatopsia (no color)#4141410.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #173F7E

    #173F7E

    oklch(37.8% 0.116 259.4)

  • #583C00

    #583C00

    oklch(37.8% 0.079 79.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173F7E

    #173F7E

    oklch(37.8% 0.116 259.4)

  • #004961

    #004961

    oklch(37.9% 0.074 228.4)

  • #42337A

    #42337A

    oklch(37.7% 0.116 289.4)

Open the analogous palette in the generator

Split complementary

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

  • #173F7E

    #173F7E

    oklch(37.8% 0.116 259.4)

  • #6A2D00

    #6A2D00

    oklch(37.6% 0.101 49.1)

  • #454500

    #454500

    oklch(37.8% 0.082 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173F7E

    #173F7E

    oklch(37.8% 0.116 259.4)

  • #732028

    #732028

    oklch(37.8% 0.116 19.3)

  • #194F04

    #194F04

    oklch(37.7% 0.116 139.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173F7E

    #173F7E

    oklch(37.8% 0.116 259.4)

  • #6C214B

    #6C214B

    oklch(37.8% 0.116 349.5)

  • #583C00

    #583C00

    oklch(37.8% 0.079 79.1)

  • #004E3B

    #004E3B

    oklch(37.7% 0.075 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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