#0171A9

Closest named color: Ocean Blue (#03719C). oklch(52.4% 0.122 240.9), rgb(1, 113, 169).

Aa

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

About this color

#0171A9 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.122 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.021 away. White text reads best on it, at 5.33:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.122)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.93:1
White text5.33:1

Values

HEX#0171A9
RGBrgb(1, 113, 169)
HSLhsl(200, 99%, 33%)
OKLCHoklch(52.4% 0.122 240.9)

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 #0171A9 5.33:1 AA Lc -81.3 Fine for body text
Black text on #0171A9 3.93:1 AA large text Lc 28.1 Dividers and decoration only
#0171A9 text on white 5.33:1 AA Lc 75.9 Fine for body text
#0171A9 text on black 3.93:1 AA large text Lc -25.8 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C8DCEC

    oklch(88.4% 0.031 242)

  4. Step 300

    300

    #A2C6E1

    oklch(80.9% 0.054 240.8)

  5. Step 400

    400

    #6DA8D2

    oklch(70.7% 0.087 240.6)

  6. Step 500

    500

    #4191C7

    oklch(63.1% 0.113 241.3)

  7. Step 600

    600 (this color)

    #0171A9

    oklch(52.4% 0.122 240.9)

  8. Step 700

    700

    #03679A

    oklch(49.1% 0.113 240.8)

  9. Step 800

    800

    #0C547D

    oklch(42.6% 0.094 241)

  10. Step 900

    900

    #164664

    oklch(37.7% 0.072 240.3)

  11. Step 950

    950

    #0F293B

    oklch(27% 0.046 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#0171A9 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)#5672AB0.059
Deuteranopia (no green cones)#4065A80.044
Tritanopia (no blue cones)#007F850.081
Achromatopsia (no color)#6B6B6B0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #0171A9

    #0171A9

    oklch(52.4% 0.122 240.9)

  • #9B5601

    #9B5601

    oklch(52.3% 0.122 60.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0171A9

    #0171A9

    oklch(52.4% 0.122 240.9)

  • #007888

    #007888

    oklch(52.5% 0.091 210.9)

  • #5164B0

    #5164B0

    oklch(52.5% 0.122 271.1)

Open the analogous palette in the generator

Split complementary

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

  • #0171A9

    #0171A9

    oklch(52.4% 0.122 240.9)

  • #A54B3D

    #A54B3D

    oklch(52.5% 0.122 30.7)

  • #816700

    #816700

    oklch(52.4% 0.107 91.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0171A9

    #0171A9

    oklch(52.4% 0.122 240.9)

  • #A14866

    #A14866

    oklch(52.5% 0.122 1)

  • #60740B

    #60740B

    oklch(52.4% 0.122 121.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0171A9

    #0171A9

    oklch(52.4% 0.122 240.9)

  • #914D8A

    #914D8A

    oklch(52.4% 0.122 331)

  • #9B5601

    #9B5601

    oklch(52.3% 0.122 60.6)

  • #267D44

    #267D44

    oklch(52.4% 0.121 151)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0171A9 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.