#5173AC

Closest named color: Flat Blue (#3C73A8). oklch(55.5% 0.098 260.3), rgb(81, 115, 172).

Aa

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

About this color

#5173AC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.098 and its hue 260°. 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.77:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.39:1
White text4.77:1

Values

HEX#5173AC
RGBrgb(81, 115, 172)
HSLhsl(218, 36%, 50%)
OKLCHoklch(55.5% 0.098 260.3)

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 #5173AC 4.77:1 AA Lc -78.5 Fine for body text
Black text on #5173AC 4.39:1 AA large text Lc 31.1 Non-text elements, placeholder text
#5173AC text on white 4.77:1 AA Lc 73.0 Content text, not long reading
#5173AC text on black 4.39:1 AA large text Lc -28.7 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  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

    #B1C2DE

    oklch(81% 0.044 260.4)

  5. Step 400

    400

    #87A2CD

    oklch(70.8% 0.07 259.6)

  6. Step 500

    500

    #6A8AC0

    oklch(63.1% 0.09 260.6)

  7. Step 600

    600 (this color)

    #5173AC

    oklch(55.5% 0.098 260.3)

  8. Step 700

    700

    #426094

    oklch(49% 0.091 260.9)

  9. Step 800

    800

    #364F78

    oklch(42.7% 0.075 259.9)

  10. Step 900

    900

    #2F4261

    oklch(37.8% 0.059 259.9)

  11. Step 950

    950

    #1C2739

    oklch(27.1% 0.037 260)

Export this scale for Tailwind in the Tailwind colors tool

#5173AC 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)#5D77AE0.020
Deuteranopia (no green cones)#526FAB0.011
Tritanopia (no blue cones)#227F880.086
Achromatopsia (no color)#7373730.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5173AC

    #5173AC

    oklch(55.5% 0.098 260.3)

  • #916C26

    #916C26

    oklch(55.5% 0.098 79.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5173AC

    #5173AC

    oklch(55.5% 0.098 260.3)

  • #257DA1

    #257DA1

    oklch(55.5% 0.097 230.1)

  • #7368A8

    #7368A8

    oklch(55.5% 0.098 290.7)

Open the analogous palette in the generator

Split complementary

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

  • #5173AC

    #5173AC

    oklch(55.5% 0.098 260.3)

  • #A0613B

    #A0613B

    oklch(55.5% 0.097 50.7)

  • #76782D

    #76782D

    oklch(55.5% 0.097 110.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5173AC

    #5173AC

    oklch(55.5% 0.098 260.3)

  • #A45A5B

    #A45A5B

    oklch(55.4% 0.097 19.8)

  • #538149

    #538149

    oklch(55.5% 0.097 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5173AC

    #5173AC

    oklch(55.5% 0.098 260.3)

  • #9E5A7B

    #9E5A7B

    oklch(55.6% 0.098 350.3)

  • #916C26

    #916C26

    oklch(55.5% 0.098 79.9)

  • #24856B

    #24856B

    oklch(55.5% 0.097 170.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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