#5173AF

Closest named color: Flat Blue (#3C73A8). oklch(55.7% 0.102 261.2), rgb(81, 115, 175).

Aa

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

About this color

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

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

Values

HEX#5173AF
RGBrgb(81, 115, 175)
HSLhsl(218, 37%, 50%)
OKLCHoklch(55.7% 0.102 261.2)

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 #5173AF 4.74:1 AA Lc -78.3 Fine for body text
Black text on #5173AF 4.42:1 AA large text Lc 31.2 Non-text elements, placeholder text
#5173AF text on white 4.74:1 AA Lc 72.8 Content text, not long reading
#5173AF text on black 4.42:1 AA large text Lc -28.8 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

    #B0C2DF

    oklch(81% 0.046 259.9)

  5. Step 400

    400

    #87A1CF

    oklch(70.6% 0.074 261.7)

  6. Step 500

    500

    #698AC2

    oklch(63.2% 0.093 260.7)

  7. Step 600

    600 (this color)

    #5173AF

    oklch(55.7% 0.102 261.2)

  8. Step 700

    700

    #416096

    oklch(49.1% 0.095 260.9)

  9. Step 800

    800

    #364F7A

    oklch(42.8% 0.078 260.7)

  10. Step 900

    900

    #2F4262

    oklch(37.8% 0.06 260.5)

  11. Step 950

    950

    #1C2639

    oklch(26.9% 0.038 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#5173AF 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)#5B78B10.020
Deuteranopia (no green cones)#506FAE0.011
Tritanopia (no blue cones)#1F80890.090
Achromatopsia (no color)#7373730.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #5173AF

    #5173AF

    oklch(55.7% 0.102 261.2)

  • #926C20

    #926C20

    oklch(55.6% 0.102 80.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5173AF

    #5173AF

    oklch(55.7% 0.102 261.2)

  • #207DA4

    #207DA4

    oklch(55.5% 0.102 231.4)

  • #7468AA

    #7468AA

    oklch(55.7% 0.101 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #5173AF

    #5173AF

    oklch(55.7% 0.102 261.2)

  • #A26138

    #A26138

    oklch(55.7% 0.101 51.5)

  • #767929

    #767929

    oklch(55.7% 0.102 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5173AF

    #5173AF

    oklch(55.7% 0.102 261.2)

  • #A75959

    #A75959

    oklch(55.6% 0.102 20.9)

  • #508249

    #508249

    oklch(55.6% 0.101 141.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5173AF

    #5173AF

    oklch(55.7% 0.102 261.2)

  • #A0597B

    #A0597B

    oklch(55.7% 0.102 350.8)

  • #926C20

    #926C20

    oklch(55.6% 0.102 80.5)

  • #1B866C

    #1B866C

    oklch(55.6% 0.101 171.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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