#2172A4

Closest named color: Ocean Blue (#03719C). oklch(52.9% 0.109 241.1), rgb(33, 114, 164).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text4.00:1
White text5.23:1

Values

HEX#2172A4
RGBrgb(33, 114, 164)
HSLhsl(203, 66%, 39%)
OKLCHoklch(52.9% 0.109 241.1)

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 #2172A4 5.23:1 AA Lc -81.0 Fine for body text
Black text on #2172A4 4.00:1 AA large text Lc 28.4 Dividers and decoration only
#2172A4 text on white 5.23:1 AA Lc 75.6 Fine for body text
#2172A4 text on black 4.00:1 AA large text Lc -26.1 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

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CADCEA

    oklch(88.5% 0.027 241.2)

  4. Step 300

    300

    #A5C5DE

    oklch(80.8% 0.049 241.8)

  5. Step 400

    400

    #73A7CD

    oklch(70.6% 0.078 241)

  6. Step 500

    500

    #4C91C0

    oklch(63.1% 0.1 240.6)

  7. Step 600

    600 (this color)

    #2172A4

    oklch(52.9% 0.109 241.1)

  8. Step 700

    700

    #1D6794

    oklch(49.2% 0.1 240.7)

  9. Step 800

    800

    #1B5478

    oklch(42.7% 0.083 240.8)

  10. Step 900

    900

    #1D4661

    oklch(37.8% 0.065 240.4)

  11. Step 950

    950

    #122939

    oklch(27% 0.042 241)

Export this scale for Tailwind in the Tailwind colors tool

#2172A4 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)#5A73A60.053
Deuteranopia (no green cones)#4967A30.042
Tritanopia (no blue cones)#007E840.072
Achromatopsia (no color)#6C6C6C0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #2172A4

    #2172A4

    oklch(52.9% 0.109 241.1)

  • #985B1D

    #985B1D

    oklch(53% 0.109 61.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2172A4

    #2172A4

    oklch(52.9% 0.109 241.1)

  • #007989

    #007989

    oklch(52.8% 0.092 210.8)

  • #5466AA

    #5466AA

    oklch(52.7% 0.109 271.1)

Open the analogous palette in the generator

Split complementary

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

  • #2172A4

    #2172A4

    oklch(52.9% 0.109 241.1)

  • #A15143

    #A15143

    oklch(53% 0.109 31.3)

  • #836800

    #836800

    oklch(52.9% 0.108 90.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2172A4

    #2172A4

    oklch(52.9% 0.109 241.1)

  • #9D4E67

    #9D4E67

    oklch(52.8% 0.108 1.4)

  • #627422

    #627422

    oklch(52.7% 0.108 120.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2172A4

    #2172A4

    oklch(52.9% 0.109 241.1)

  • #8F5288

    #8F5288

    oklch(52.9% 0.109 331.3)

  • #985B1D

    #985B1D

    oklch(53% 0.109 61.2)

  • #337D4A

    #337D4A

    oklch(52.9% 0.109 151.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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