#5171AE

Closest named color: French Blue (#436BAD). oklch(55.2% 0.103 262.5), rgb(81, 113, 174).

Aa

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

About this color

#5171AE is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.103 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is French Blue (#436BAD), ΔE 0.025 away. White text reads best on it, at 4.85:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameFrench Blue (#436BAD)
Black text4.32:1
White text4.85:1

Values

HEX#5171AE
RGBrgb(81, 113, 174)
HSLhsl(219, 36%, 50%)
OKLCHoklch(55.2% 0.103 262.5)

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 #5171AE 4.85:1 AA Lc -79.0 Fine for body text
Black text on #5171AE 4.32:1 AA large text Lc 30.5 Non-text elements, placeholder text
#5171AE text on white 4.85:1 AA Lc 73.6 Content text, not long reading
#5171AE text on black 4.32:1 AA large text Lc -28.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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEB

    oklch(88.6% 0.026 261.1)

  4. Step 300

    300

    #B1C1DF

    oklch(80.9% 0.046 263)

  5. Step 400

    400

    #88A1CF

    oklch(70.7% 0.073 262.4)

  6. Step 500

    500

    #6A89C3

    oklch(63% 0.095 262.4)

  7. Step 600

    600 (this color)

    #5171AE

    oklch(55.2% 0.103 262.5)

  8. Step 700

    700

    #436097

    oklch(49.2% 0.095 262.3)

  9. Step 800

    800

    #374E7A

    oklch(42.6% 0.079 262.5)

  10. Step 900

    900

    #304162

    oklch(37.6% 0.061 262.9)

  11. Step 950

    950

    #1C263A

    oklch(26.9% 0.04 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#5171AE 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)#5976B10.018
Deuteranopia (no green cones)#4E6DAD0.012
Tritanopia (no blue cones)#217E870.092
Achromatopsia (no color)#7171710.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #5171AE

    #5171AE

    oklch(55.2% 0.103 262.5)

  • #8F6B1C

    #8F6B1C

    oklch(55% 0.102 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5171AE

    #5171AE

    oklch(55.2% 0.103 262.5)

  • #207CA4

    #207CA4

    oklch(55.3% 0.102 232.4)

  • #7466A9

    #7466A9

    oklch(55.2% 0.103 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #5171AE

    #5171AE

    oklch(55.2% 0.103 262.5)

  • #A05F34

    #A05F34

    oklch(55% 0.103 52.5)

  • #737828

    #737828

    oklch(55.2% 0.102 112.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5171AE

    #5171AE

    oklch(55.2% 0.103 262.5)

  • #A65856

    #A65856

    oklch(55.2% 0.103 22.5)

  • #4C8148

    #4C8148

    oklch(55.1% 0.103 142.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5171AE

    #5171AE

    oklch(55.2% 0.103 262.5)

  • #9F5778

    #9F5778

    oklch(55.1% 0.103 352.1)

  • #8F6B1C

    #8F6B1C

    oklch(55% 0.102 82.4)

  • #12856C

    #12856C

    oklch(55.2% 0.102 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5171AE 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.