#5172AC

Closest named color: Flat Blue (#3C73A8). oklch(55.3% 0.099 261.1), rgb(81, 114, 172).

Aa

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

About this color

#5172AC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.099 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.023 away. White text reads best on it, at 4.82:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.35:1
White text4.82:1

Values

HEX#5172AC
RGBrgb(81, 114, 172)
HSLhsl(218, 36%, 50%)
OKLCHoklch(55.3% 0.099 261.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 #5172AC 4.82:1 AA Lc -78.8 Fine for body text
Black text on #5172AC 4.35:1 AA large text Lc 30.7 Non-text elements, placeholder text
#5172AC text on white 4.82:1 AA Lc 73.3 Content text, not long reading
#5172AC text on black 4.35:1 AA large text Lc -28.3 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEA

    oklch(88.6% 0.025 259.8)

  4. Step 300

    300

    #B1C1DE

    oklch(80.8% 0.045 262.4)

  5. Step 400

    400

    #88A1CD

    oklch(70.6% 0.071 261.6)

  6. Step 500

    500

    #6A8AC1

    oklch(63.2% 0.091 260.9)

  7. Step 600

    600 (this color)

    #5172AC

    oklch(55.3% 0.099 261.1)

  8. Step 700

    700

    #426095

    oklch(49.1% 0.093 261.2)

  9. Step 800

    800

    #374F79

    oklch(42.8% 0.076 261.1)

  10. Step 900

    900

    #304261

    oklch(37.8% 0.058 260.9)

  11. Step 950

    950

    #1C2739

    oklch(27.1% 0.037 260)

Export this scale for Tailwind in the Tailwind colors tool

#5172AC 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)#5B76AE0.018
Deuteranopia (no green cones)#506EAB0.011
Tritanopia (no blue cones)#237F870.089
Achromatopsia (no color)#7272720.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #5172AC

    #5172AC

    oklch(55.3% 0.099 261.1)

  • #906C23

    #906C23

    oklch(55.4% 0.099 81.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5172AC

    #5172AC

    oklch(55.3% 0.099 261.1)

  • #247CA1

    #247CA1

    oklch(55.2% 0.098 230.9)

  • #7367A8

    #7367A8

    oklch(55.3% 0.1 291.3)

Open the analogous palette in the generator

Split complementary

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

  • #5172AC

    #5172AC

    oklch(55.3% 0.099 261.1)

  • #A06039

    #A06039

    oklch(55.3% 0.099 50.8)

  • #75782B

    #75782B

    oklch(55.4% 0.099 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5172AC

    #5172AC

    oklch(55.3% 0.099 261.1)

  • #A45959

    #A45959

    oklch(55.2% 0.099 20.7)

  • #508149

    #508149

    oklch(55.4% 0.099 141.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5172AC

    #5172AC

    oklch(55.3% 0.099 261.1)

  • #9E5979

    #9E5979

    oklch(55.3% 0.099 351.6)

  • #906C23

    #906C23

    oklch(55.4% 0.099 81.3)

  • #20856B

    #20856B

    oklch(55.4% 0.099 171.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5172AC 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.