#5170AB

Closest named color: French Blue (#436BAD). oklch(54.8% 0.099 262.5), rgb(81, 112, 171).

Aa

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

About this color

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

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

Values

HEX#5170AB
RGBrgb(81, 112, 171)
HSLhsl(219, 36%, 49%)
OKLCHoklch(54.8% 0.099 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 #5170AB 4.93:1 AA Lc -79.5 Fine for body text
Black text on #5170AB 4.25:1 AA large text Lc 30.0 Non-text elements, placeholder text
#5170AB text on white 4.93:1 AA Lc 74.1 Content text, not long reading
#5170AB text on black 4.25:1 AA large text Lc -27.6 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

    #D0DAEA

    oklch(88.6% 0.025 259.8)

  4. Step 300

    300

    #B1C1DE

    oklch(80.8% 0.045 262.4)

  5. Step 400

    400

    #89A1CE

    oklch(70.7% 0.072 262.8)

  6. Step 500

    500

    #6B89C1

    oklch(63% 0.092 262.4)

  7. Step 600

    600 (this color)

    #5170AB

    oklch(54.8% 0.099 262.5)

  8. Step 700

    700

    #446095

    oklch(49.2% 0.092 262.3)

  9. Step 800

    800

    #384E79

    oklch(42.6% 0.077 262.9)

  10. Step 900

    900

    #304161

    oklch(37.6% 0.059 262.4)

  11. Step 950

    950

    #1C2639

    oklch(26.9% 0.038 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#5170AB 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)#5975AD0.018
Deuteranopia (no green cones)#4E6CAA0.012
Tritanopia (no blue cones)#247D850.090
Achromatopsia (no color)#7070700.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #5170AB

    #5170AB

    oklch(54.8% 0.099 262.5)

  • #8D6B20

    #8D6B20

    oklch(54.8% 0.099 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5170AB

    #5170AB

    oklch(54.8% 0.099 262.5)

  • #237AA1

    #237AA1

    oklch(54.7% 0.1 232.6)

  • #7365A6

    #7365A6

    oklch(54.8% 0.1 292.7)

Open the analogous palette in the generator

Split complementary

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

  • #5170AB

    #5170AB

    oklch(54.8% 0.099 262.5)

  • #9E5F36

    #9E5F36

    oklch(54.8% 0.099 52.3)

  • #72772A

    #72772A

    oklch(54.9% 0.1 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5170AB

    #5170AB

    oklch(54.8% 0.099 262.5)

  • #A35856

    #A35856

    oklch(54.8% 0.099 22.4)

  • #4D8049

    #4D8049

    oklch(54.9% 0.099 142.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5170AB

    #5170AB

    oklch(54.8% 0.099 262.5)

  • #9D5776

    #9D5776

    oklch(54.8% 0.1 352.9)

  • #8D6B20

    #8D6B20

    oklch(54.8% 0.099 83.1)

  • #18836B

    #18836B

    oklch(54.7% 0.099 172.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5170AB 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.