#2172A1

Closest named color: Ocean Blue (#03719C). oklch(52.7% 0.105 239.4), rgb(33, 114, 161).

Aa

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

About this color

#2172A1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.105 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.014 away. White text reads best on it, at 5.26:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.98:1
White text5.26:1

Values

HEX#2172A1
RGBrgb(33, 114, 161)
HSLhsl(202, 66%, 38%)
OKLCHoklch(52.7% 0.105 239.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 #2172A1 5.26:1 AA Lc -81.2 Fine for body text
Black text on #2172A1 3.98:1 AA large text Lc 28.3 Dividers and decoration only
#2172A1 text on white 5.26:1 AA Lc 75.8 Fine for body text
#2172A1 text on black 3.98:1 AA large text Lc -25.9 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CADCE9

    oklch(88.5% 0.026 239.1)

  4. Step 300

    300

    #A5C5DC

    oklch(80.7% 0.047 239.4)

  5. Step 400

    400

    #74A7CB

    oklch(70.6% 0.076 239.9)

  6. Step 500

    500

    #4D91BE

    oklch(63.1% 0.097 239.8)

  7. Step 600

    600 (this color)

    #2172A1

    oklch(52.7% 0.105 239.4)

  8. Step 700

    700

    #1D6792

    oklch(49% 0.098 239.5)

  9. Step 800

    800

    #1B5477

    oklch(42.6% 0.082 240)

  10. Step 900

    900

    #1D4660

    oklch(37.8% 0.064 239.4)

  11. Step 950

    950

    #122938

    oklch(27% 0.04 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#2172A1 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)#5C72A30.056
Deuteranopia (no green cones)#4A67A00.043
Tritanopia (no blue cones)#007E820.071
Achromatopsia (no color)#6C6C6C0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #2172A1

    #2172A1

    oklch(52.7% 0.105 239.4)

  • #975A22

    #975A22

    oklch(52.7% 0.106 59.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2172A1

    #2172A1

    oklch(52.7% 0.105 239.4)

  • #007987

    #007987

    oklch(52.7% 0.091 208.9)

  • #5367A8

    #5367A8

    oklch(52.8% 0.105 269.6)

Open the analogous palette in the generator

Split complementary

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

  • #2172A1

    #2172A1

    oklch(52.7% 0.105 239.4)

  • #9F5146

    #9F5146

    oklch(52.7% 0.106 29.4)

  • #836707

    #836707

    oklch(52.7% 0.105 89.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2172A1

    #2172A1

    oklch(52.7% 0.105 239.4)

  • #9B4F69

    #9B4F69

    oklch(52.8% 0.105 359.6)

  • #647323

    #647323

    oklch(52.6% 0.105 119.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2172A1

    #2172A1

    oklch(52.7% 0.105 239.4)

  • #8C5388

    #8C5388

    oklch(52.7% 0.105 329.5)

  • #975A22

    #975A22

    oklch(52.7% 0.106 59.3)

  • #387C48

    #387C48

    oklch(52.8% 0.107 149.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2172A1 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.