#172B58

Closest named color: Marine (#042E60). oklch(30% 0.085 264), rgb(23, 43, 88).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.52:1
White text13.78:1

Values

HEX#172B58
RGBrgb(23, 43, 88)
HSLhsl(222, 59%, 22%)
OKLCHoklch(30% 0.085 264)

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 #172B58 13.78:1 AAA Lc -103.3 Preferred for body text
Black text on #172B58 1.52:1 Fails Lc 0.0 Not readable
#172B58 text on white 13.78:1 AAA Lc 100.1 Preferred for body text
#172B58 text on black 1.52: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #2A64F4

    oklch(55.7% 0.224 263.8)

  8. Step 700

    700

    #1E51D4

    oklch(49% 0.209 263.9)

  9. Step 800

    800

    #1A44AB

    oklch(42.7% 0.172 263.8)

  10. Step 900

    900

    #1B3B88

    oklch(37.8% 0.134 264)

  11. Step 950

    950 (this color)

    #172B58

    oklch(30% 0.085 264)

Export this scale for Tailwind in the Tailwind colors tool

#172B58 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)#13305A0.015
Deuteranopia (no green cones)#062A570.016
Tritanopia (no blue cones)#00353D0.068
Achromatopsia (no color)#2D2D2D0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #172B58

    #172B58

    oklch(30% 0.085 264)

  • #3C2B00

    #3C2B00

    oklch(30.1% 0.062 85.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172B58

    #172B58

    oklch(30% 0.085 264)

  • #003248

    #003248

    oklch(29.9% 0.063 234.2)

  • #312354

    #312354

    oklch(30% 0.086 293.8)

Open the analogous palette in the generator

Split complementary

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

  • #172B58

    #172B58

    oklch(30% 0.085 264)

  • #4A2100

    #4A2100

    oklch(30% 0.076 53.7)

  • #2E3100

    #2E3100

    oklch(30% 0.067 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172B58

    #172B58

    oklch(30% 0.085 264)

  • #501818

    #501818

    oklch(30% 0.084 23.7)

  • #0A380D

    #0A380D

    oklch(30% 0.086 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172B58

    #172B58

    oklch(30% 0.085 264)

  • #4C1831

    #4C1831

    oklch(30% 0.084 353.5)

  • #3C2B00

    #3C2B00

    oklch(30.1% 0.062 85.2)

  • #00372C

    #00372C

    oklch(30.1% 0.057 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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