#2172A0

Closest named color: Ocean Blue (#03719C). oklch(52.6% 0.104 238.9), rgb(33, 114, 160).

Aa

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

About this color

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

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

Values

HEX#2172A0
RGBrgb(33, 114, 160)
HSLhsl(202, 66%, 38%)
OKLCHoklch(52.6% 0.104 238.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 #2172A0 5.27:1 AA Lc -81.2 Fine for body text
Black text on #2172A0 3.97:1 AA large text Lc 28.2 Dividers and decoration only
#2172A0 text on white 5.27:1 AA Lc 75.9 Fine for body text
#2172A0 text on black 3.97: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

    #A6C6DC

    oklch(81% 0.046 238.2)

  5. Step 400

    400

    #74A8CB

    oklch(70.8% 0.075 238.7)

  6. Step 500

    500

    #4D91BD

    oklch(63% 0.096 239.1)

  7. Step 600

    600 (this color)

    #2172A0

    oklch(52.6% 0.104 238.9)

  8. Step 700

    700

    #1D6791

    oklch(49% 0.097 238.8)

  9. Step 800

    800

    #1B5476

    oklch(42.6% 0.081 239.3)

  10. Step 900

    900

    #1D465F

    oklch(37.7% 0.063 238.4)

  11. Step 950

    950

    #122938

    oklch(27% 0.04 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#2172A0 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)#5C72A20.056
Deuteranopia (no green cones)#4B669F0.046
Tritanopia (no blue cones)#007E820.069
Achromatopsia (no color)#6C6C6C0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #2172A0

    #2172A0

    oklch(52.6% 0.104 238.9)

  • #965A24

    #965A24

    oklch(52.6% 0.104 59.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2172A0

    #2172A0

    oklch(52.6% 0.104 238.9)

  • #007987

    #007987

    oklch(52.7% 0.091 208.9)

  • #5267A7

    #5267A7

    oklch(52.6% 0.104 268.9)

Open the analogous palette in the generator

Split complementary

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

  • #2172A0

    #2172A0

    oklch(52.6% 0.104 238.9)

  • #9E5147

    #9E5147

    oklch(52.6% 0.104 28.8)

  • #83670A

    #83670A

    oklch(52.7% 0.105 89.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2172A0

    #2172A0

    oklch(52.6% 0.104 238.9)

  • #9A4F69

    #9A4F69

    oklch(52.6% 0.104 359.2)

  • #657324

    #657324

    oklch(52.7% 0.104 118.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2172A0

    #2172A0

    oklch(52.6% 0.104 238.9)

  • #8B5388

    #8B5388

    oklch(52.5% 0.104 328.8)

  • #965A24

    #965A24

    oklch(52.6% 0.104 59.1)

  • #3A7B48

    #3A7B48

    oklch(52.6% 0.104 148.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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