#172D52

Closest named color: Marine (#042E60). oklch(30% 0.073 260.2), rgb(23, 45, 82).

Aa

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

About this color

#172D52 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.073 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.028 away. White text reads best on it, at 13.69:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.53:1
White text13.69:1

Values

HEX#172D52
RGBrgb(23, 45, 82)
HSLhsl(218, 56%, 21%)
OKLCHoklch(30% 0.073 260.2)

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 #172D52 13.69:1 AAA Lc -103.2 Preferred for body text
Black text on #172D52 1.53:1 Fails Lc 0.0 Not readable
#172D52 text on white 13.69:1 AAA Lc 100.1 Preferred for body text
#172D52 text on black 1.53: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  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

    #A0C2F9

    oklch(80.9% 0.087 259.9)

  5. Step 400

    400

    #6DA0F6

    oklch(70.7% 0.138 260.4)

  6. Step 500

    500

    #4585F2

    oklch(63% 0.177 260.3)

  7. Step 600

    600

    #256CE1

    oklch(55.6% 0.192 260.2)

  8. Step 700

    700

    #1859C3

    oklch(49% 0.178 260.2)

  9. Step 800

    800

    #164A9E

    oklch(42.8% 0.147 259.9)

  10. Step 900

    900

    #193F7D

    oklch(37.8% 0.114 259.8)

  11. Step 950

    950 (this color)

    #172D52

    oklch(30% 0.073 260.2)

Export this scale for Tailwind in the Tailwind colors tool

#172D52 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)#1C30530.012
Deuteranopia (no green cones)#132B510.008
Tritanopia (no blue cones)#00353B0.059
Achromatopsia (no color)#2D2D2D0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #172D52

    #172D52

    oklch(30% 0.073 260.2)

  • #3E2A00

    #3E2A00

    oklch(30.1% 0.062 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172D52

    #172D52

    oklch(30% 0.073 260.2)

  • #003346

    #003346

    oklch(30.1% 0.06 229.9)

  • #2E264F

    #2E264F

    oklch(30% 0.072 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #172D52

    #172D52

    oklch(30% 0.073 260.2)

  • #4A2105

    #4A2105

    oklch(30.1% 0.073 50.3)

  • #303000

    #303000

    oklch(29.9% 0.065 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172D52

    #172D52

    oklch(30% 0.073 260.2)

  • #4C1C1E

    #4C1C1E

    oklch(30% 0.073 20.1)

  • #173611

    #173611

    oklch(29.9% 0.072 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172D52

    #172D52

    oklch(30% 0.073 260.2)

  • #481C33

    #481C33

    oklch(30% 0.074 349.9)

  • #3E2A00

    #3E2A00

    oklch(30.1% 0.062 80.6)

  • #003729

    #003729

    oklch(30% 0.059 169.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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