#172E39

Closest named color: Oxford Blue (#1B263B). oklch(28.8% 0.035 230.4), rgb(23, 46, 57).

Aa

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

About this color

#172E39 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.035 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.029 away. White text reads best on it, at 14.12:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.035)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.48:1
White text14.12:1

Values

HEX#172E39
RGBrgb(23, 46, 57)
HSLhsl(199, 43%, 16%)
OKLCHoklch(28.8% 0.035 230.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 #172E39 14.12:1 AAA Lc -103.7 Preferred for body text
Black text on #172E39 1.48:1 Fails Lc 0.0 Not readable
#172E39 text on white 14.12:1 AAA Lc 100.7 Preferred for body text
#172E39 text on black 1.48: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECF0

    oklch(93.7% 0.012 223.5)

  3. Step 200

    200

    #CADCE6

    oklch(88.4% 0.024 231.9)

  4. Step 300

    300

    #A6C6D7

    oklch(80.9% 0.042 231.1)

  5. Step 400

    400

    #75A9C3

    oklch(70.8% 0.067 230.6)

  6. Step 500

    500

    #4D93B4

    oklch(63.1% 0.086 230.7)

  7. Step 600

    600

    #2D7D9F

    oklch(55.6% 0.092 230.1)

  8. Step 700

    700

    #1E6988

    oklch(49% 0.086 230.3)

  9. Step 800

    800

    #1C566F

    oklch(42.8% 0.072 230.5)

  10. Step 900

    900

    #1E475A

    oklch(37.7% 0.056 230.9)

  11. Step 950

    950 (this color)

    #172E39

    oklch(28.8% 0.035 230.4)

Export this scale for Tailwind in the Tailwind colors tool

#172E39 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)#282D3A0.024
Deuteranopia (no green cones)#242A390.021
Tritanopia (no blue cones)#0431320.025
Achromatopsia (no color)#2B2B2B0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #172E39

    #172E39

    oklch(28.8% 0.035 230.4)

  • #39261B

    #39261B

    oklch(28.9% 0.035 51)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172E39

    #172E39

    oklch(28.8% 0.035 230.4)

  • #123032

    #123032

    oklch(28.7% 0.036 201.2)

  • #212B3C

    #212B3C

    oklch(28.8% 0.034 260.8)

Open the analogous palette in the generator

Split complementary

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

  • #172E39

    #172E39

    oklch(28.8% 0.035 230.4)

  • #3B2423

    #3B2423

    oklch(28.9% 0.035 22.2)

  • #342916

    #342916

    oklch(28.8% 0.035 80.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172E39

    #172E39

    oklch(28.8% 0.035 230.4)

  • #38232D

    #38232D

    oklch(28.6% 0.036 349.5)

  • #2C2C17

    #2C2C17

    oklch(28.7% 0.035 108.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172E39

    #172E39

    oklch(28.8% 0.035 230.4)

  • #332536

    #332536

    oklch(28.8% 0.036 320.3)

  • #39261B

    #39261B

    oklch(28.9% 0.035 51)

  • #212F1E

    #212F1E

    oklch(28.7% 0.036 140.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #172E39 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.